Skip to content

Commit a35ba2c

Browse files
committed
qa: add Psalm as dev requirement
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent e13a1e3 commit a35ba2c

File tree

3 files changed

+2607
-943
lines changed

3 files changed

+2607
-943
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
"laminas/laminas-coding-standard": "~2.3.0",
5151
"laminas/laminas-http": "^2.5.4",
5252
"phpspec/prophecy-phpunit": "^2.0",
53-
"phpunit/phpunit": "^9.3"
53+
"phpunit/phpunit": "^9.3",
54+
"psalm/plugin-phpunit": "^0.16.1",
55+
"vimeo/psalm": "^4.8"
5456
},
5557
"suggest": {
5658
"alcaeus/mongo-php-adapter": "^1.0.5, if you are using ext/mongodb and wish to use the MongoConnectedListener.",
@@ -74,6 +76,7 @@
7476
],
7577
"cs-check": "phpcs",
7678
"cs-fix": "phpcbf",
79+
"static-analysis": "psalm --shepherd --stats",
7780
"test": "phpunit --colors=always",
7881
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
7982
},

0 commit comments

Comments
 (0)