Skip to content

Commit

Permalink
Setup Psalm
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <george@net-glue.co.uk>
  • Loading branch information
gsteel committed Jul 22, 2022
1 parent be2280b commit b440d9e
Show file tree
Hide file tree
Showing 5 changed files with 4,859 additions and 1,532 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"
},
"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 b440d9e

Please sign in to comment.