From df236f4bfdf77bff8bd1d07a1e64579c4cc9a36e Mon Sep 17 00:00:00 2001 From: AntonHeinze Date: Mon, 3 Mar 2025 13:50:51 +0100 Subject: [PATCH] add phpunit dependencies --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 56ec05c..7611473 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,8 @@ "oxid-esales/oxideshop-ce": "7.0 - 7.2" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.9" + "friendsofphp/php-cs-fixer": "^3.9", + "phpunit/phpunit": "^9.1.1" }, "autoload": { "psr-4": { @@ -38,6 +39,8 @@ } }, "scripts": { + "phpunit": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/manufacturerinformation/Tests/ --no-coverage", + "phpunit-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/manufacturerinformation/Tests/ --coverage-html=vendor/d3/manufacturerinformation/tests/result/coverage", "php-cs-fixer_audit": "./vendor/bin/php-cs-fixer list-files --config=./vendor/d3/manufacturerinformation/.php-cs-fixer.php", "php-cs-fixer_fix": "./vendor/bin/php-cs-fixer fix --config=./vendor/d3/manufacturerinformation/.php-cs-fixer.php" }