Skip to content

Commit a397ebf

Browse files
authored
Merge pull request #15 from jslmorrison/feature/psalm-integration
Psalm integration
2 parents 5cfd3a2 + 2390a66 commit a397ebf

File tree

4 files changed

+2898
-1051
lines changed

4 files changed

+2898
-1051
lines changed

composer.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
"laminas/laminas-i18n": "~2.12",
4747
"laminas/laminas-stratigility": "^3.5",
4848
"phpspec/prophecy-phpunit": "^2.0",
49-
"phpunit/phpunit": "^9.5.10"
49+
"phpunit/phpunit": "^9.5.10",
50+
"psalm/plugin-phpunit": "^0.17.0",
51+
"vimeo/psalm": "^4.24"
5052
},
5153
"autoload": {
5254
"psr-4": {
@@ -66,7 +68,8 @@
6668
"cs-check": "phpcs",
6769
"cs-fix": "phpcbf",
6870
"test": "phpunit --colors=always",
69-
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
71+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
72+
"static-analysis": "psalm --shepherd --stats"
7073
},
7174
"conflict": {
7275
"zendframework/zend-expressive-zendrouter": "*"

0 commit comments

Comments
 (0)