diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/composer.json b/composer.json index d4a7f46..3fb0b6a 100644 --- a/composer.json +++ b/composer.json @@ -7,6 +7,9 @@ "file" ], "homepage": "https://github.com/zendframework/zend-file", + "config": { + "sort-packages": true + }, "autoload": { "psr-4": { "Zend\\File\\": "src/" @@ -17,14 +20,15 @@ "zendframework/zend-stdlib": "^2.7 || ^3.0" }, "require-dev": { + "fabpot/php-cs-fixer": "1.7.*", + "phpunit/phpunit": "~4.0", + "zendframework/zend-coding-standard": "~1.0.0", "zendframework/zend-filter": "^2.6.1", "zendframework/zend-i18n": "^2.6", "zendframework/zend-progressbar": "^2.5.2", "zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3", "zendframework/zend-session": "^2.6.2", - "zendframework/zend-validator": "^2.6", - "fabpot/php-cs-fixer": "1.7.*", - "phpunit/PHPUnit": "~4.0" + "zendframework/zend-validator": "^2.6" }, "suggest": { "zendframework/zend-filter": "Zend\\Filter component", @@ -43,5 +47,16 @@ "psr-4": { "ZendTest\\File\\": "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" } } |