From 5882cb2efc280db75346643884fee2acd6300d6f Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Sun, 16 Jun 2024 13:49:57 +0200 Subject: [PATCH] align PHPUnit configuration --- composer.json | 2 +- phpunit.xml | 47 +++++++++++++++++++++++++++++++++-------------- 2 files changed, 34 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index 6075ed8..9738887 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ } }, "scripts": { - "runtests": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --bootstrap=source/bootstrap.php --config=vendor/d3/testingtools/", + "phpunit": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/testingtools/", "php-cs-fixer_audit": "./vendor/bin/php-cs-fixer list-files --config=./vendor/d3/testingtools/.php-cs-fixer.php", "php-cs-fixer_fix": "./vendor/bin/php-cs-fixer fix --config=./vendor/d3/testingtools/.php-cs-fixer.php", "phpstan": "./vendor/bin/phpstan analyse -c./vendor/d3/testingtools/phpstan.neon" diff --git a/phpunit.xml b/phpunit.xml index a5acda7..10bf342 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,20 +1,39 @@ - - - src - - - - - - - ./Tests - - + + + ./Tests + + + + + src + + + ../.php-cs-fixer.php + ../Tests/ + + + + + + + +