Skip to content

Commit

Permalink
feat: add Psalm integration
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Bespalov <dbespalov.rosko@gmail.com>
  • Loading branch information
superrosko authored and weierophinney committed Jul 11, 2023
1 parent e0ea083 commit 2f4551b
Show file tree
Hide file tree
Showing 5 changed files with 4,384 additions and 1,008 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
/phpunit.xml
/vendor/
/.phpunit.result.cache
/.phpcs-cache
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
"laminas/laminas-validator": "^2.8.1",
"laminas/laminas-view": "^2.11.3",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.5.10"
"phpunit/phpunit": "^9.5.10",
"psalm/plugin-phpunit": "^0.16.1",
"vimeo/psalm": "^4.7"
},
"autoload": {
"psr-4": {
Expand All @@ -69,6 +71,7 @@
],
"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 2f4551b

Please sign in to comment.