summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-06-20 07:41:38 +0200
committerRemi Collet <remi@remirepo.net>2017-06-20 07:41:38 +0200
commit134404fbd44060e4ecd85f431fd6ff842b9cd619 (patch)
treeec2e538c2a8ebb00fc63b3ffefa0762ce71912a6 /composer.json
parentdee9bac5e564a2c673242057194ca540744b9e9d (diff)
v2.7.4v2.7
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 2d433fc..17ec169 100644
--- a/composer.json
+++ b/composer.json
@@ -25,8 +25,8 @@
"zendframework/zend-validator": "^2.6",
"container-interop/container-interop": "^1.1",
"mongodb/mongodb": "^1.0.1",
- "fabpot/php-cs-fixer": "1.7.*",
- "phpunit/PHPUnit": "~4.0"
+ "phpunit/PHPUnit": "~4.0",
+ "zendframework/zend-coding-standard": "~1.0.0"
},
"suggest": {
"zendframework/zend-cache": "Zend\\Cache component",
@@ -52,5 +52,16 @@
"psr-4": {
"ZendTest\\Session\\": "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"
}
}