added composer script for psr2 formatting

This commit is contained in:
Joseph Lyons 2016-07-05 22:46:47 +10:00 committed by GitHub
parent 8bdac4e1a0
commit e4479cf1d5
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@
}
},
"scripts": {
"test": "phpunit"
"test": "phpunit",
"format": "phpcbf --standard=psr2 src/"
},
"extra": {
"branch-alias": {