diff --git a/composer.json b/composer.json index 6725104f690..93b391f3edc 100644 --- a/composer.json +++ b/composer.json @@ -127,5 +127,10 @@ "php": "7.4" }, "sort-packages": true + }, + "scripts": { + "phpunit:test": "@php vendor/bin/phpunit --no-coverage \"$@\" --testdox", + "phpunit:coverage": "@php -XDEBUG_MODE=coverage vendor/bin/phpunit --testdox", + "phpunit:coverage-local": "@php -XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html build/coverage --testdox" } }