add phpunit dependencies

This commit is contained in:
AntonHeinze 2025-03-03 13:50:51 +01:00
bovenliggende 2af2e3bbcc
commit df236f4bfd

Bestand weergeven

@ -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"
}