summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index d2d4f4b..a6e5cc7 100644
--- a/composer.json
+++ b/composer.json
@@ -46,6 +46,10 @@
],
"test": "phpunit",
"build-phar": "./tools/build-phar.sh",
- "fix-cs": "./tools/fix-cs.sh"
+ "fix-cs": [
+ "phpcbf --standard=PSR1,PSR2 ./src ./tests",
+ "php-cs-fixer fix --level=psr2 ./src",
+ "php-cs-fixer fix --level=psr2 ./tests"
+ ]
}
}