Skip to content

Commit

Permalink
Update Psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Feb 13, 2024
1 parent 2abc297 commit 19e871c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"amphp/phpunit-util": "^3",
"amphp/php-cs-fixer-config": "^2",
"amphp/process": "^2",
"psalm/phar": "^5.4"
"psalm/phar": "5.20"
},
"autoload": {
"psr-4": {
Expand Down
6 changes: 6 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
</errorLevel>
</MissingClosureReturnType>

<RiskyTruthyFalsyComparison>
<errorLevel type="suppress">
<directory name="src"/>
</errorLevel>
</RiskyTruthyFalsyComparison>

<UnsupportedPropertyReferenceUsage>
<errorLevel type="suppress">
<directory name="src"/>
Expand Down

0 comments on commit 19e871c

Please sign in to comment.