Skip to content

Commit

Permalink
Merge pull request #57 from gsteel/psalm
Browse files Browse the repository at this point in the history
Setup Psalm
  • Loading branch information
gsteel authored Jul 22, 2022
2 parents fec8d43 + 12b4ca5 commit 9f8a607
Show file tree
Hide file tree
Showing 8 changed files with 4,845 additions and 1,538 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
/mkdocs.yml export-ignore
/phpcs.xml export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml export-ignore
/psalm-baseline.xml export-ignore
/test/ export-ignore
/autoload-dev/ export-ignore
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
"mongodb/mongodb": "~1.12.0",
"php-mock/php-mock-phpunit": "^1.1.2 || ^2.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.5.9"
"phpunit/phpunit": "^9.5.9",
"psalm/plugin-phpunit": "^0.17.0",
"vimeo/psalm": "^4.24.0"
},
"suggest": {
"laminas/laminas-cache": "Laminas\\Cache component",
Expand Down Expand Up @@ -78,7 +80,8 @@
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
"static-analysis": "psalm --shepherd --stats"
},
"conflict": {
"zendframework/zend-session": "*"
Expand Down
Loading

0 comments on commit 9f8a607

Please sign in to comment.