# define your env variables for the test env here
KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st'
-SYMFONY_DEPRECATIONS_HELPER=999999
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
- backupGlobals="false"
colors="true"
+ failOnDeprecation="true"
failOnNotice="true"
failOnWarning="true"
bootstrap="tests/bootstrap.php"
</testsuite>
</testsuites>
- <source ignoreSuppressionOfDeprecations="true" restrictNotices="true" restrictWarnings="true">
+ <source ignoreSuppressionOfDeprecations="true"
+ ignoreIndirectDeprecations="true"
+ restrictNotices="true"
+ restrictWarnings="true"
+ >
<include>
<directory>src</directory>
</include>
+
+ <deprecationTrigger>
+ <method>Doctrine\Deprecations\Deprecation::trigger</method>
+ <method>Doctrine\Deprecations\Deprecation::delegateTriggerToBackend</method>
+ <function>trigger_deprecation</function>
+ </deprecationTrigger>
</source>
<extensions>
]
},
"phpunit/phpunit": {
- "version": "10.5",
+ "version": "13.4",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
- "version": "10.0",
- "ref": "bb22cf8d8c554a623b427d5f3416b538f5525233"
+ "version": "11.1",
+ "ref": "ca0bc067abfb40a8de1b2561b96cbfc2b833c314"
},
"files": [
".env.test",
+ "bin/phpunit",
"phpunit.xml.dist",
"tests/bootstrap.php"
]