diff --git a/composer.json b/composer.json index 4367b10..26d698b 100644 --- a/composer.json +++ b/composer.json @@ -49,12 +49,19 @@ } }, "scripts": { - "coverage": "vendor/bin/phpunit --coverage-clover=coverage.xml", - "fix": "vendor/bin/phpcbf src tests", - "htmlCoverage": "vendor/bin/phpunit --coverage-html coverage", + "fix": [ + "vendor/bin/phpcbf src tests" + ], + "htmlCoverage": [ + "@server", + "vendor/bin/phpunit --coverage-html coverage" + ], "phpcs": "vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');", "phpmd": "vendor/bin/phpmd src,tests text ./phpmd.xml", - "phpunit": "vendor/bin/phpunit", + "phpunit": [ + "@server", + "vendor/bin/phpunit" + ], "server": "php -S localhost:9888 -t tests/Proxy/ &", "tests": [ "clear",