1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
From: James Valleroy <jvalleroy@mailbox.org>
Date: Sat, 8 Jul 2023 13:10:04 -0400
Subject: Migrate phpunit XML config
---
phpunit.xml | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/phpunit.xml b/phpunit.xml
index 565ab3a..d730f2a 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -1,12 +1,14 @@
-<phpunit bootstrap="./tests/bootstrap.php">
- <testsuites>
- <testsuite name="All tests">
- <directory>./tests/</directory>
- </testsuite>
- </testsuites>
- <filter>
- <whitelist processUncoveredFilesFromWhitelist="true">
- <directory suffix=".php">src</directory>
- </whitelist>
- </filter>
+<?xml version="1.0"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache">
+ <coverage/>
+ <testsuites>
+ <testsuite name="All tests">
+ <directory>./tests/</directory>
+ </testsuite>
+ </testsuites>
+ <source>
+ <include>
+ <directory suffix=".php">src</directory>
+ </include>
+ </source>
</phpunit>
|