From 0576c02adb19774d1331394db64b74214d50613c Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 3 Oct 2023 23:53:48 +0200 Subject: [PATCH] PHPUnit config: upgrade to 10.3 schema This upgrades the XML configuration to one accepted by PHPUnit 10.3 and higher, which is in line with the PHPUnit requirements in the `composer.json` file. Note: the configuration will not validate for PHPUnit < 10.3 and will throw warnings, but as code coverage in CI is only run with PHPUnit 10 and the warnings are about that part of the configuration, this is nothing to worry about. Moreover, on PHPUnit 8.x/9.x, those warnings won't fail the build and the tests will still be run. --- phpunit.xml.dist | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index b76ba3252..1e0236cee 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,7 +1,7 @@ ./tests/ - + SlevomatCodingStandard + +