Skip to content

Commit

Permalink
move to use psalm.phar, remove psalm.xml change warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed Oct 20, 2024
1 parent e1d22b6 commit 2643744
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"predis/predis": "^1.1",
"psr/cache": "^1.0",
"tedivm/stash": "^0.16",
"vimeo/psalm": "*",
"psalm/phar": "*",
"phpstan/phpstan": "*"
},
"suggest": {
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"scripts": {
"build" : [ "@lint", "@check-format", "@psalm", "@phpstan", "@test" ],
"psalm" : "@php ./vendor/bin/psalm src",
"psalm" : "@php ./vendor/bin/psalm.phar src",
"phpstan" : "@php vendor/bin/phpstan analyse --level 6 src",
"lint": "@php ./vendor/bin/parallel-lint --exclude vendor/ .",
"check-format": "@php ./vendor/bin/php-cs-fixer fix --ansi --dry-run --diff",
Expand Down
2 changes: 2 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config file:///home/david/src/RateLimit/vendor/vimeo/psalm/config.xsd"
findUnusedBaselineEntry="true"
findUnusedCode="false"
>
<projectFiles>
<directory name="src/" />
Expand Down

0 comments on commit 2643744

Please sign in to comment.