Skip to content

Commit

Permalink
Replace psalm with phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowhand committed Jul 6, 2018
1 parent e9fb28f commit 694520c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
},
"require-dev": {
"eloquent/phony-phpunit": "^4.0",
"eloquent/phpstan-phony": "^0.2.0",
"phpstan/phpstan": "^0.10.1",
"phpunit/phpunit": "^7.0.3",
"squizlabs/php_codesniffer": "^3.2",
"vimeo/psalm": "^1.0.5",
"zendframework/zend-container-config-test": "^0.2.0"
},
"autoload": {
Expand All @@ -38,7 +39,7 @@
"@sa-check"
],
"cs-check": "phpcs --standard=PSR2 src/ tests/",
"sa-check": "psalm",
"sa-check": "phpstan analyse -l max -c phpstan.neon src --no-progress",
"test": "phpunit"
},
"config": {
Expand Down
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
includes:
- vendor/eloquent/phpstan-phony/phony.neon

0 comments on commit 694520c

Please sign in to comment.