]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/php/phpunit.xml
Merge pull request #2856 from t-tomek/patch-1
[nominatim.git] / test / php / phpunit.xml
index 8764d49efa72c70f315619de8f15d8cbbd3ff2d4..e46d529408f7a4afe52dc458ad08c5599c19d43c 100644 (file)
@@ -1,26 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?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>
     </php>
-    <testsuites>
-        <testsuite name="Nominatim PHP Test Suite">
-            <directory>./Nominatim</directory>
-        </testsuite>
-    </testsuites>
-    <filter>
-        <whitelist>
-            <directory>../../lib/</directory>
-        </whitelist>
-    </filter>
-
+  <testsuites>
+    <testsuite name="Nominatim PHP Test Suite">
+      <directory>./Nominatim</directory>
+    </testsuite>
+  </testsuites>
 </phpunit>
 </phpunit>