summaryrefslogtreecommitdiff
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index ef09fe20..12fbdf28 100644
--- a/composer.json
+++ b/composer.json
@@ -21,6 +21,12 @@
"symfony/console": "^2.5.0 || ^3.0.0 || ^4.0.0 || ^5.0.0",
"zendframework/zend-diactoros": "^1.3 || ^2.0"
},
+ "require-dev": {
+ "phpstan/phpstan": "~0.12"
+ },
+ "scripts": {
+ "analyze": "@php ./vendor/bin/phpstan analyze --level max --no-progress --ansi ./src"
+ },
"autoload": {
"psr-4": {
"Spiral\\RoadRunner\\": "src/"