Add Composer scripts "check-codestyle" & "fix-codestyle"

This commit is contained in:
Marc Würth 2015-05-19 20:06:21 +02:00
parent 371773e5a5
commit a243b4a03a
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@
},
"scripts": {
"test": "phpunit",
"format": "phpcbf --standard=psr2 src/"
"check-codestyle": "phpcs -p --standard=PSR2 src tests",
"fix-codestyle": "phpcbf -p --standard=PSR2 src tests"
},
"extra": {
"branch-alias": {