]> Raphaël G. Git Repositories - blog/commitdiff
Update phpunit recipe
authorRaphaël Gertz <git@rapsys.eu>
Thu, 16 Oct 2025 15:34:31 +0000 (17:34 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 16 Oct 2025 15:34:31 +0000 (17:34 +0200)
.env.test
.gitignore
phpunit.xml.dist
symfony.lock

index 9e7162f0b01d8778e236e79f4121e0926f68c194..24a43c03bbc22615a9f7361f5c83604019593b41 100644 (file)
--- a/.env.test
+++ b/.env.test
@@ -2,5 +2,3 @@
 KERNEL_CLASS='App\Kernel'
 APP_SECRET='$ecretf0rt3st'
 SYMFONY_DEPRECATIONS_HELPER=999999
-PANTHER_APP_ENV=panther
-PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
index de562d765df62d32ddf45d5179bb4feb4ae07b9a..8b98b6e6d5f6bd834a56bea6a284be964a48400f 100644 (file)
@@ -11,7 +11,7 @@
 
 ###> phpunit/phpunit ###
 /phpunit.xml
-.phpunit.result.cache
+/.phpunit.cache/
 ###< phpunit/phpunit ###
 
 ###> symfony/phpunit-bridge ###
index c76a655ac4b420ef59233fd9b6ffad83d443abb3..0b31da2224f2f432f3cb5d7dd0e4fcc5f4723a90 100644 (file)
@@ -5,16 +5,16 @@
          xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
          backupGlobals="false"
          colors="true"
+         failOnNotice="true"
+         failOnWarning="true"
          bootstrap="tests/bootstrap.php"
-         convertDeprecationsToExceptions="false"
+         cacheDirectory=".phpunit.cache"
 >
     <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="" />
-        <server name="SYMFONY_PHPUNIT_VERSION" value="9.6" />
     </php>
 
     <testsuites>
         </testsuite>
     </testsuites>
 
-    <coverage processUncoveredFiles="true">
+    <source ignoreSuppressionOfDeprecations="true" restrictNotices="true" restrictWarnings="true">
         <include>
-            <directory suffix=".php">src</directory>
+            <directory>src</directory>
         </include>
-    </coverage>
-
-    <listeners>
-        <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
-    </listeners>
+    </source>
 
     <extensions>
     </extensions>
index cb93055a8892afb34950eb4c979e433b523a79c2..49bf241b8ffd4ac37bae19426ee1a7ae694297b5 100644 (file)
         ]
     },
     "phpunit/phpunit": {
-        "version": "9.6",
+        "version": "10.5",
         "recipe": {
             "repo": "github.com/symfony/recipes",
             "branch": "main",
-            "version": "9.6",
-            "ref": "7364a21d87e658eb363c5020c072ecfdc12e2326"
+            "version": "10.0",
+            "ref": "bb22cf8d8c554a623b427d5f3416b538f5525233"
         },
         "files": [
             ".env.test",