run tests using PHPUnit 11.5

This commit is contained in:
Christian Flothmann
2024-10-09 11:06:51 +02:00
committed by Christian Flothmann
parent fac03d9039
commit c26dfaaa2b
2 changed files with 17 additions and 6 deletions

View File

@@ -20,8 +20,8 @@
"composer-runtime-api": ">=2.1",
"symfony/config": "^7.3|^8.0",
"symfony/deprecation-contracts": "^2.5|^3",
"symfony/framework-bundle": "^6.4|^7.0|^8.0",
"symfony/http-kernel": "^6.4|^7.0|^8.0",
"symfony/framework-bundle": "^6.4.13|^7.1.6|^8.0",
"symfony/http-kernel": "^6.4.13|^7.1.6|^8.0",
"symfony/routing": "^6.4|^7.0|^8.0",
"symfony/twig-bundle": "^6.4|^7.0|^8.0",
"twig/twig": "^3.12"
@@ -30,6 +30,7 @@
"symfony/browser-kit": "^6.4|^7.0|^8.0",
"symfony/console": "^6.4|^7.0|^8.0",
"symfony/css-selector": "^6.4|^7.0|^8.0",
"symfony/runtime": "^6.4.13|^7.1.6|^8.0",
"symfony/stopwatch": "^6.4|^7.0|^8.0"
},
"conflict": {
@@ -45,5 +46,10 @@
"/Tests/"
]
},
"minimum-stability": "dev"
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"symfony/runtime": false
}
}
}

View File

@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.3/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
failOnDeprecation="true"
failOnRisky="true"
failOnWarning="true"
>
@@ -18,7 +19,7 @@
</testsuite>
</testsuites>
<coverage>
<source ignoreSuppressionOfDeprecations="true">
<include>
<directory>./</directory>
</include>
@@ -27,5 +28,9 @@
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</coverage>
</source>
<extensions>
<bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension" />
</extensions>
</phpunit>