Skip to content

Commit 436b137

Browse files
authored
Merge pull request #15 from ghostwriter/feat/psalm-integration
Psalm integration
2 parents df68327 + 192af1b commit 436b137

File tree

4 files changed

+3341
-872
lines changed

4 files changed

+3341
-872
lines changed

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
"config": {
2121
"sort-packages": true
2222
},
23-
"extra": {
24-
},
2523
"require": {
2624
"php": "^7.3 || ~8.0.0",
2725
"laminas/laminas-http": "^2.15.1",
@@ -31,7 +29,9 @@
3129
"require-dev": {
3230
"ext-json": "*",
3331
"laminas/laminas-coding-standard": "~1.0.0",
34-
"phpunit/phpunit": "^9.5.11"
32+
"phpunit/phpunit": "^9.5.11",
33+
"psalm/plugin-phpunit": "^0.16.1",
34+
"vimeo/psalm": "^4.18.0"
3535
},
3636
"conflict": {
3737
"laminas/laminas-stdlib": "<3.2.1"
@@ -56,6 +56,7 @@
5656
],
5757
"cs-check": "phpcs",
5858
"cs-fix": "phpcbf",
59+
"static-analysis": "psalm --shepherd --stats",
5960
"test": "phpunit --colors=always",
6061
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
6162
},

0 commit comments

Comments
 (0)