Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit a4ea444

Browse files
stefanotorresiweierophinney
authored andcommitted
add composer scripts
1 parent 0a4228c commit a4ea444

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

composer.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,16 @@
7575
"psr-4": {
7676
"ZendTest\\Mvc\\": "test/"
7777
}
78+
},
79+
"scripts": {
80+
"check": [
81+
"@cs-check",
82+
"@test"
83+
],
84+
"upload-coverage": "coveralls",
85+
"cs-check": "php-cs-fixer --version && php-cs-fixer fix -v --diff --dry-run",
86+
"cs-fix": "php-cs-fixer fix -v",
87+
"test": "phpunit",
88+
"test-coverage": "phpunit --coverage-clover clover.xml"
7889
}
7990
}

0 commit comments

Comments
 (0)