summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-07-12 10:35:44 +0200
committerRemi Collet <remi@remirepo.net>2017-07-12 10:35:44 +0200
commit1c6a210e95c6a1cff7b540b7d33414a4219ea32f (patch)
tree6e436d0f4b1d91af5afe5edd043ac3b4e306ee16 /composer.json
parent79608e51c58d6c6d2df1d6bce9e6d09754b66055 (diff)
v2.7.3
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json18
1 files changed, 14 insertions, 4 deletions
diff --git a/composer.json b/composer.json
index 4e7c419..e34d3cc 100644
--- a/composer.json
+++ b/composer.json
@@ -14,7 +14,7 @@
},
"require": {
"php": "^5.5 || ^7.0",
- "zendframework/zend-config": "^2.6",
+ "zendframework/zend-config": "^2.6 || ^3.1",
"zendframework/zend-eventmanager": "^2.6.2 || ^3.0",
"zendframework/zend-stdlib": "^2.7 || ^3.0"
},
@@ -24,11 +24,10 @@
"zendframework/zend-loader": "^2.5",
"zendframework/zend-mvc": "^2.7",
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
- "fabpot/php-cs-fixer": "1.7.*",
- "phpunit/PHPUnit": "~4.0"
+ "phpunit/PHPUnit": "~4.0",
+ "zendframework/zend-coding-standard": "~1.0.0"
},
"suggest": {
- "zendframework/zend-config": "Zend\\Config component",
"zendframework/zend-console": "Zend\\Console component",
"zendframework/zend-loader": "Zend\\Loader component",
"zendframework/zend-mvc": "Zend\\Mvc component",
@@ -46,5 +45,16 @@
"psr-4": {
"ZendTest\\ModuleManager\\": "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"
}
}