From 737c5bcbad225a37e211259f26e34167344d3fd8 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Mon, 9 Sep 2024 21:13:18 +0200 Subject: [PATCH] Added phpunit command to composer.json --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) 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" } }