Skip to content

Commit

Permalink
Add stricter config for static analyses
Browse files Browse the repository at this point in the history
  • Loading branch information
oqq committed Dec 7, 2020
1 parent 03e8da2 commit cc3c2f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/vendor
.phpunit.result.cache
infection.json
phpunit.xml
psalm.xml
5 changes: 4 additions & 1 deletion psalm.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
xmlns="https://getpsalm.org/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
totallyTyped="true"
strictBinaryOperands="true"
ignoreInternalFunctionFalseReturn="false"
ignoreInternalFunctionNullReturn="false"
findUnusedPsalmSuppress="true"
>
<projectFiles>
<directory name="src"/>
Expand Down

0 comments on commit cc3c2f1

Please sign in to comment.