Updated phpunit recipe

This commit is contained in:
Jan Böhmer 2025-07-14 00:15:08 +02:00
parent 2cd2a481d9
commit e2bad9e9da
2 changed files with 39 additions and 40 deletions

View file

@ -1,18 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
backupGlobals="false"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
failOnDeprecation="true"
failOnNotice="true"
failOnWarning="true"
bootstrap="tests/bootstrap.php"
convertDeprecationsToExceptions="false"
cacheDirectory=".phpunit.cache"
backupGlobals="false"
>
<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.5"/>
<ini name="memory_limit" value="1G"/>
<ini name="display_errors" value="1"/>
</php>
@ -28,9 +31,10 @@
</testsuite>
</testsuites>
<extensions>
<bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension">
<parameter name="clock-mock-namespaces" value="App" />
<parameter name="dns-mock-namespaces" value="App" />
</bootstrap>
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/>
</extensions>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit>

View file

@ -577,19 +577,14 @@
"version": "v5.3.8"
},
"symfony/phpunit-bridge": {
"version": "6.4",
"version": "7.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "6.3",
"ref": "a411a0480041243d97382cac7984f7dce7813c08"
"version": "7.3",
"ref": "dc13fec96bd527bd399c3c01f0aab915c67fd544"
},
"files": [
"./.env.test",
"./bin/phpunit",
"./phpunit.xml.dist",
"./tests/bootstrap.php"
]
"files": []
},
"symfony/polyfill-ctype": {
"version": "v1.14.0"