From 86e05807d83d561d1fe857405868896b187be54b Mon Sep 17 00:00:00 2001 From: Anna Reiter Date: Thu, 16 Apr 2026 17:55:37 +0200 Subject: [PATCH] [CLEANUP] Move PHPUnit configuration to `Build/` --- .gitattributes | 2 +- phpunit.xml => Build/phpunit/config.xml | 4 ++-- composer.json | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) rename phpunit.xml => Build/phpunit/config.xml (84%) diff --git a/.gitattributes b/.gitattributes index 82a4f0b95..a8682dbc0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,10 +3,10 @@ /.github/ export-ignore /.gitignore export-ignore /.phive/ export-ignore +/Build/ export-ignore /CODE_OF_CONDUCT.md export-ignore /CONTRIBUTING.md export-ignore /bin/ export-ignore /config/ export-ignore /docs/ export-ignore -/phpunit.xml export-ignore /tests/ export-ignore diff --git a/phpunit.xml b/Build/phpunit/config.xml similarity index 84% rename from phpunit.xml rename to Build/phpunit/config.xml index aab1f10c4..485d82c3f 100644 --- a/phpunit.xml +++ b/Build/phpunit/config.xml @@ -12,13 +12,13 @@ > - tests + ../../tests - src + ../../src diff --git a/composer.json b/composer.json index fb1391b1b..5c240cf56 100644 --- a/composer.json +++ b/composer.json @@ -96,9 +96,9 @@ "check:tests": [ "@check:tests:unit" ], - "check:tests:coverage": "phpunit --do-not-cache-result --coverage-clover=coverage.xml", - "check:tests:sof": "phpunit --stop-on-failure --do-not-cache-result", - "check:tests:unit": "phpunit --do-not-cache-result", + "check:tests:coverage": "phpunit --config=./Build/phpunit/config.xml --do-not-cache-result --coverage-clover=coverage.xml", + "check:tests:sof": "phpunit --stop-on-failure --config=./Build/phpunit/config.xml --do-not-cache-result", + "check:tests:unit": "phpunit --config=./Build/phpunit/config.xml --do-not-cache-result", "fix": [ "@fix:php" ],