diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/composer.json b/composer.json index b04e9ff..3be2356 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,8 @@ }, "require-dev": { "zendframework/zend-mail": "^2.6", - "fabpot/php-cs-fixer": "1.7.*", - "phpunit/PHPUnit": "~4.0" + "phpunit/PHPUnit": "^4.7 || ^5.7", + "zendframework/zend-coding-standard": "~1.0.0" }, "suggest": { "zendframework/zend-mail": "Zend\\Mail component" @@ -36,5 +36,16 @@ "psr-4": { "ZendTest\\Mime\\": "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" } } |