]> git.openstreetmap.org Git - nominatim.git/commitdiff
PHPUnit 9 changed configuration schema slightly
authorMarc Tobias <mtmail@gmx.net>
Tue, 10 May 2022 13:18:02 +0000 (15:18 +0200)
committerMarc Tobias <mtmail@gmx.net>
Tue, 10 May 2022 13:20:43 +0000 (15:20 +0200)
test/php/phpunit.xml

index 79341a00acdb99c3aea5536227bf1dd6b45a2b87..e46d529408f7a4afe52dc458ad08c5599c19d43c 100644 (file)
@@ -1,26 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<phpunit backupGlobals="false"
-    backupStaticAttributes="false"
-    colors="true"
-    convertErrorsToExceptions="true"
-    convertNoticesToExceptions="true"
-    convertWarningsToExceptions="true"
-    processIsolation="false"
-    stopOnFailure="false"
-    bootstrap="./bootstrap.php"
-    beStrictAboutTestsThatDoNotTestAnything="true"
-    >
-    <php>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  backupGlobals="false"
+  backupStaticAttributes="false"
+  colors="true"
+  convertErrorsToExceptions="true"
+  convertNoticesToExceptions="true"
+  convertWarningsToExceptions="true"
+  processIsolation="false"
+  stopOnFailure="false"
+  bootstrap="./bootstrap.php"
+  beStrictAboutTestsThatDoNotTestAnything="true"
+  xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
+  <coverage>
+    <include>
+      <directory>../../lib-php/</directory>
+    </include>
+  </coverage>
+  <php>
     </php>
-    <testsuites>
-        <testsuite name="Nominatim PHP Test Suite">
-            <directory>./Nominatim</directory>
-        </testsuite>
-    </testsuites>
-    <filter>
-        <whitelist>
-            <directory>../../lib-php/</directory>
-        </whitelist>
-    </filter>
-
+  <testsuites>
+    <testsuite name="Nominatim PHP Test Suite">
+      <directory>./Nominatim</directory>
+    </testsuite>
+  </testsuites>
 </phpunit>