Skip to content

Commit

Permalink
Suppress PHP 8.1 specific issue
Browse files Browse the repository at this point in the history
Discussion at vimeo/psalm#7703
  • Loading branch information
ostrolucky committed Feb 20, 2022
1 parent c5be90a commit c292a33
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
"symfony/proxy-manager-bridge": "If you want to lazy-load some services"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"conflict": {
"ext-redis": "<5.3",
Expand Down
7 changes: 7 additions & 0 deletions psalm.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@
<directory name="src"/>
<directory name="tests"/>
</projectFiles>
<issueHandlers>
<UndefinedDocblockClass>
<errorLevel type="suppress">
<referencedClass name="UnitEnum" />
</errorLevel>
</UndefinedDocblockClass>
</issueHandlers>
</psalm>

0 comments on commit c292a33

Please sign in to comment.