Skip to content

Commit

Permalink
Merge pull request #19 from gennadiylitvinyuk/feature/psalm-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
boesing authored Apr 8, 2021
2 parents b1da29f + 99ad2ab commit ef224b6
Show file tree
Hide file tree
Showing 9 changed files with 2,591 additions and 929 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
/mkdocs.yml export-ignore
/phpcs.xml export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml.dist export-ignore
/psalm-baseline.xml export-ignore
/test/ export-ignore
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
},
"require-dev": {
"laminas/laminas-coding-standard": "~1.0.0",
"phpunit/phpunit": "^9.3"
"phpunit/phpunit": "^9.3",
"psalm/plugin-phpunit": "^0.15.1",
"vimeo/psalm": "^4.7"
},
"autoload": {
"psr-4": {
Expand All @@ -43,10 +45,12 @@
"scripts": {
"check": [
"@cs-check",
"@static-analysis",
"@test"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"static-analysis": "psalm --shepherd --stats",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
Expand Down
Loading

0 comments on commit ef224b6

Please sign in to comment.