Skip to content

Commit d0d7983

Browse files
committed
move to use psalm/phar to reduce dev library install, bump psalm to ^5
1 parent 7e51c4f commit d0d7983

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"php": ">=7.2"
77
},
88
"require-dev": {
9-
"vimeo/psalm": "^4.8",
9+
"psalm/phar": "^5",
1010
"phpunit/phpunit": "^8|^9",
1111
"friendsofphp/php-cs-fixer" : "*"
1212
},
1313
"license": "GPL-2.0",
1414
"scripts": {
15-
"psalm" : "@php vendor/bin/psalm src",
15+
"psalm" : "@php vendor/bin/psalm.phar src",
1616
"test" : "@php vendor/bin/phpunit tests",
1717
"format" : [
1818
"@php vendor/bin/php-cs-fixer fix src ",

psalm.xml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
66
xmlns="https://getpsalm.org/schema/config"
77
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8+
findUnusedBaselineEntry="true"
9+
findUnusedCode="true"
810
>
911
<projectFiles>
1012
<directory name="src/" />

0 commit comments

Comments
 (0)