Skip to content

Commit

Permalink
Merge pull request #28 from alexraputa/psalm
Browse files Browse the repository at this point in the history
feat: Add Psalm integration
  • Loading branch information
Ocramius committed Sep 7, 2022
2 parents 599590d + 09a96be commit cd2dd3b
Show file tree
Hide file tree
Showing 31 changed files with 4,273 additions and 1,437 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
/mkdocs.yml export-ignore
/phpcs.xml export-ignore
/phpunit.xml.dist export-ignore
/psalm-baseline.xml export-ignore
/psalm.xml export-ignore
/test/ export-ignore
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
"laminas/laminas-loader": "^2.8",
"laminas/laminas-mvc": "^3.1.1",
"laminas/laminas-servicemanager": "^3.7",
"phpunit/phpunit": "^9.5.5"
"phpunit/phpunit": "^9.5.5",
"psalm/plugin-phpunit": "^0.16.1",
"vimeo/psalm": "^4.10"
},
"suggest": {
"laminas/laminas-console": "Laminas\\Console component",
Expand Down Expand Up @@ -67,6 +69,7 @@
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"static-analysis": "psalm --shepherd --stats",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
"conflict": {
Expand Down
Loading

0 comments on commit cd2dd3b

Please sign in to comment.