Skip to content

Commit

Permalink
Merge pull request #18 from northwoods/switch-to-phpstan
Browse files Browse the repository at this point in the history
Replace psalm with phpstan
  • Loading branch information
shadowhand committed Jul 6, 2018
2 parents e9fb28f + 694520c commit ed5a8a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions composer.json
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
@@ -0,0 +1,2 @@
includes:
- vendor/eloquent/phpstan-phony/phony.neon

0 comments on commit ed5a8a0

Please sign in to comment.