summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json15
1 files changed, 13 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index 9fbaf0f..4d6bde3 100644
--- a/composer.json
+++ b/composer.json
@@ -21,8 +21,8 @@
"require-dev": {
"zendframework/zend-config": "^2.6",
"zendframework/zendpdf": "*",
- "fabpot/php-cs-fixer": "1.7.*",
- "phpunit/PHPUnit": "~4.0"
+ "phpunit/PHPUnit": "~4.0",
+ "zendframework/zend-coding-standard": "~1.0.0"
},
"suggest": {
"zendframework/zendpdf": "ZendPdf component"
@@ -37,5 +37,16 @@
"psr-4": {
"ZendTest\\Barcode\\": "test/"
}
+ },
+ "scripts": {
+ "check": [
+ "@cs-check",
+ "@test"
+ ],
+ "cs-check": "phpcs",
+ "cs-fix": "phpcbf",
+ "test": "phpunit --colors=always",
+ "test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
+ "upload-coverage": "coveralls -v"
}
}