Skip to content

Commit 5ab3dc3

Browse files
committed
Silence Psalm errors about Enum classes
Signed-off-by: Alexander M. Turek <[email protected]>
1 parent 0d35d24 commit 5ab3dc3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

psalm.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
<issueHandlers>
2222
<UndefinedClass>
2323
<errorLevel type="suppress">
24-
<!-- Class has been added in PHP 8.1 -->
24+
<!-- These classes have been added in PHP 8.1 -->
25+
<referencedClass name="BackedEnum"/>
2526
<referencedClass name="ReflectionIntersectionType"/>
27+
<referencedClass name="UnitEnum"/>
2628
</errorLevel>
2729
</UndefinedClass>
2830
</issueHandlers>

0 commit comments

Comments
 (0)