Skip to content

Commit faab0f5

Browse files
Merge pull request #18 from superrosko/qa/psalm
Qa/psalm
2 parents 120ef68 + 264990d commit faab0f5

14 files changed

+3341
-901
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.phpcs-cache
2+
/.phpunit.result.cache
23
/clover.xml
34
/coveralls-upload.json
45
/phpunit.xml

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@
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",
34+
"webmozart/assert": "^1.10"
3235
},
3336
"autoload": {
3437
"psr-4": {
@@ -47,6 +50,7 @@
4750
],
4851
"cs-check": "phpcs",
4952
"cs-fix": "phpcbf",
53+
"static-analysis": "psalm --shepherd --stats",
5054
"test": "phpunit --colors=always",
5155
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
5256
},

0 commit comments

Comments
 (0)