Merge pull request #228 from carusogabriel/phpstan

Add PHPStan to composer all command
This commit is contained in:
Tomáš Votruba 2017-12-26 15:56:04 +01:00 committed by GitHub
commit 760431d488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@
}
},
"scripts": {
"all": ["@check-cs", "phpunit"],
"all": ["@check-cs", "phpunit", "@phpstan"],
"check-cs": "vendor/bin/ecs check bin packages src tests",
"fix-cs": "vendor/bin/ecs check bin packages src tests --fix",
"phpstan": "vendor/bin/phpstan.phar analyse packages src tests --level max --configuration phpstan.neon"