Skip to content

Commit c726755

Browse files
authored
Merge pull request #24 from gsteel/psalm
Setup Psalm
2 parents d136aed + e20aeb1 commit c726755

File tree

9 files changed

+3007
-916
lines changed

9 files changed

+3007
-916
lines changed

.coveralls.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.gitattributes

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
/.coveralls.yml export-ignore
21
/.gitattributes export-ignore
32
/.github/ export-ignore
43
/.gitignore export-ignore
4+
/.laminas-ci.json export-ignore
55
/docs/ export-ignore
66
/mkdocs.yml export-ignore
77
/phpcs.xml export-ignore
8+
/psalm.xml export-ignore
9+
/psalm-baseline.xml export-ignore
810
/phpunit.xml.dist export-ignore
911
/test/ export-ignore
12+
/renovate.json

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
},
4242
"require-dev": {
4343
"laminas/laminas-coding-standard": "~2.3.0",
44-
"phpunit/phpunit": "^9.5.11"
44+
"phpunit/phpunit": "^9.5.11",
45+
"psalm/plugin-phpunit": "^0.17.0",
46+
"vimeo/psalm": "^4.24"
4547
},
4648
"conflict": {
4749
"laminas/laminas-mvc": "<3.0.0",
@@ -67,6 +69,7 @@
6769
"cs-check": "phpcs",
6870
"cs-fix": "phpcbf",
6971
"test": "phpunit --colors=always",
70-
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
72+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
73+
"static-analysis": "psalm --shepherd --stats"
7174
}
7275
}

0 commit comments

Comments
 (0)