]> Raphaël G. Git Repositories - airlibre/commitdiff
Update phpunit dist xml file
authorRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 10:51:14 +0000 (11:51 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 27 Feb 2024 10:51:14 +0000 (11:51 +0100)
phpunit.xml.dist

index 5e9daab0aa293af2979ab3601a033f5708233943..c76a655ac4b420ef59233fd9b6ffad83d443abb3 100644 (file)
@@ -2,28 +2,19 @@
 
 <!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
 <!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd"
+         xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
          backupGlobals="false"
          colors="true"
          backupGlobals="false"
          colors="true"
-         bootstrap="config/bootstrap.php"
+         bootstrap="tests/bootstrap.php"
+         convertDeprecationsToExceptions="false"
 >
     <php>
 >
     <php>
+        <ini name="display_errors" value="1" />
         <ini name="error_reporting" value="-1" />
         <server name="APP_ENV" value="test" force="true" />
         <server name="SHELL_VERBOSITY" value="-1" />
         <server name="SYMFONY_PHPUNIT_REMOVE" value="" />
         <ini name="error_reporting" value="-1" />
         <server name="APP_ENV" value="test" force="true" />
         <server name="SHELL_VERBOSITY" value="-1" />
         <server name="SYMFONY_PHPUNIT_REMOVE" value="" />
-        <server name="SYMFONY_PHPUNIT_VERSION" value="7.5" />
-
-        <!-- ###+ google/apiclient ### -->
-        <env name="GOOGLE_API_KEY" value=""/>
-        <env name="GOOGLE_CLIENT_ID" value=""/>
-        <env name="GOOGLE_CLIENT_SECRET" value=""/>
-        <!-- ###- google/apiclient ### -->
-
-        <!-- ###+ symfony/framework-bundle ### -->
-        <env name="APP_ENV" value="dev"/>
-        <env name="APP_SECRET" value="6c7e1549a2fc98a71e3f2b6d3dbec822"/>
-        <!-- ###- symfony/framework-bundle ### -->
+        <server name="SYMFONY_PHPUNIT_VERSION" value="9.6" />
     </php>
 
     <testsuites>
     </php>
 
     <testsuites>
         </testsuite>
     </testsuites>
 
         </testsuite>
     </testsuites>
 
-    <filter>
-        <whitelist>
-            <directory>src</directory>
-        </whitelist>
-    </filter>
+    <coverage processUncoveredFiles="true">
+        <include>
+            <directory suffix=".php">src</directory>
+        </include>
+    </coverage>
 
     <listeners>
         <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
     </listeners>
 
     <listeners>
         <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
     </listeners>
+
+    <extensions>
+    </extensions>
 </phpunit>
 </phpunit>