Skip to content

Commit

Permalink
Suppress psalm error for UndefinedDocblockClass for PHP 8.1 classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ogizanagi committed Dec 29, 2021
1 parent 82a4564 commit dbc3eea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,13 @@
<referencedClass name="UnitEnum"/>
</errorLevel>
</UndefinedClass>
<UndefinedDocblockClass>
<errorLevel type="suppress">
<!-- These classes have been added in PHP 8.1 -->
<referencedClass name="BackedEnum"/>
<referencedClass name="ReflectionIntersectionType"/>
<referencedClass name="UnitEnum"/>
</errorLevel>
</UndefinedDocblockClass>
</issueHandlers>
</psalm>

0 comments on commit dbc3eea

Please sign in to comment.