Skip to content

Commit cdc0144

Browse files
superroskoweierophinney
authored andcommitted
feat: add psalm
closes #16 Signed-off-by: Dmitriy Bespalov <[email protected]>
1 parent 120ef68 commit cdc0144

File tree

5 files changed

+3419
-858
lines changed

5 files changed

+3419
-858
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
"require-dev": {
2929
"laminas/laminas-coding-standard": "~2.2.0",
3030
"laminas/laminas-stdlib": "^2.7.8 || ^3.0.1",
31-
"phpunit/phpunit": "^7.5.15"
31+
"phpunit/phpunit": "^9.3",
32+
"vimeo/psalm": "^4.7",
33+
"psalm/plugin-phpunit": "^0.16.0"
3234
},
3335
"autoload": {
3436
"psr-4": {
@@ -47,6 +49,7 @@
4749
],
4850
"cs-check": "phpcs",
4951
"cs-fix": "phpcbf",
52+
"static-analysis": "psalm --shepherd --stats",
5053
"test": "phpunit --colors=always",
5154
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
5255
},

0 commit comments

Comments
 (0)