Skip to content

Commit 79e3b1b

Browse files
committed
run tests using PHPUnit 11.5
1 parent 6c819a9 commit 79e3b1b

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
"symfony/browser-kit": "^6.4|^7.0|^8.0",
2525
"symfony/config": "^6.4|^7.0|^8.0",
2626
"symfony/event-dispatcher": "^6.4|^7.0|^8.0",
27-
"symfony/framework-bundle": "^6.4|^7.0|^8.0",
28-
"symfony/http-kernel": "^6.4|^7.0|^8.0",
27+
"symfony/framework-bundle": "^6.4.13|^7.1.6|^8.0",
28+
"symfony/http-kernel": "^6.4.13|^7.1.6|^8.0",
29+
"symfony/runtime": "^6.4.13|^7.1.6|^8.0",
2930
"nyholm/psr7": "^1.1",
3031
"php-http/discovery": "^1.15",
3132
"psr/log": "^1.1.4|^2|^3"
@@ -36,7 +37,8 @@
3637
},
3738
"config": {
3839
"allow-plugins": {
39-
"php-http/discovery": false
40+
"php-http/discovery": false,
41+
"symfony/runtime": false
4042
}
4143
},
4244
"autoload": {

phpunit.xml.dist

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.3/phpunit.xsd"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.3/phpunit.xsd"
55
backupGlobals="false"
66
colors="true"
77
bootstrap="vendor/autoload.php"
8+
failOnDeprecation="true"
89
failOnRisky="true"
910
failOnWarning="true"
1011
>
@@ -18,7 +19,7 @@
1819
</testsuite>
1920
</testsuites>
2021

21-
<coverage>
22+
<source ignoreSuppressionOfDeprecations="true">
2223
<include>
2324
<directory>./</directory>
2425
</include>
@@ -27,5 +28,9 @@
2728
<directory>./Tests</directory>
2829
<directory>./vendor</directory>
2930
</exclude>
30-
</coverage>
31+
</source>
32+
33+
<extensions>
34+
<bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension" />
35+
</extensions>
3136
</phpunit>

0 commit comments

Comments
 (0)