Skip to content

Commit 2bb340e

Browse files
committed
Compatibility with PHPUnit 11, drop PHPUnit 9
1 parent 3edf028 commit 2bb340e

File tree

3 files changed

+9
-25
lines changed

3 files changed

+9
-25
lines changed

.github/workflows/ci.yml

+1-18
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,10 @@ jobs:
1818
- "8.3"
1919
- "8.2"
2020
- "8.1"
21-
- "8.0"
22-
- "7.4"
2321

2422
php-code-coverage-version:
2523
- "^11.0"
26-
- "^10.0"
27-
- "^9.2.16"
24+
- "^10.1"
2825

2926
symfony-version:
3027
- "^7.0"
@@ -44,22 +41,8 @@ jobs:
4441
exclude:
4542
- php-version: "8.1"
4643
symfony-version: "^7.0"
47-
- php-version: "8.0"
48-
symfony-version: "^7.0"
49-
- php-version: "7.4"
50-
symfony-version: "^7.0"
51-
- php-version: "7.4"
52-
symfony-version: "^6.0"
53-
- php-version: "8.0"
54-
php-code-coverage-version: "^10.0"
55-
- php-version: "7.4"
56-
php-code-coverage-version: "^10.0"
5744
- php-version: "8.1"
5845
php-code-coverage-version: "^11.0"
59-
- php-version: "8.0"
60-
php-code-coverage-version: "^11.0"
61-
- php-version: "7.4"
62-
php-code-coverage-version: "^11.0"
6346

6447
steps:
6548
- uses: actions/checkout@v4

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
"composer-runtime-api": "^2.0",
1717
"behat/behat": "^3.10",
1818
"composer/semver": "^3.0",
19-
"phpunit/php-code-coverage": "^9.2.16||^10.0||^11.0",
19+
"phpunit/php-code-coverage": "^10.1||^11.0",
2020
"symfony/config": "^5.1.4||^6.0||^7.0",
2121
"symfony/console": "^5.3.7||^6.0.9||^7.0",
2222
"symfony/dependency-injection": "^5.1.4||^6.0||^7.0",
2323
"symfony/event-dispatcher": "^5.0||^6.0||^7.0"
2424
},
2525
"require-dev": {
2626
"friendsofphp/php-cs-fixer": "^3.38.0",
27-
"phpunit/phpunit": "^9.5.5||^10.0||^11.0",
27+
"phpunit/phpunit": "^10.1||^11.0",
2828
"symfony/filesystem": "^5.0||^6.0||^7.0"
2929
},
3030
"suggest": {

phpunit.xml.dist

+6-5
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
</testsuite>
2222
</testsuites>
2323

24+
<source>
25+
<include>
26+
<directory>src</directory>
27+
</include>
28+
</source>
29+
2430
<!-- pathCoverage must be set false here for CI or PCOV fails. It is enabled via CLI for Xdebug -->
2531
<coverage pathCoverage="false" cacheDirectory="build/phpunit-cache/coverage">
26-
27-
<include>
28-
<directory>src</directory>
29-
</include>
30-
3132
<report>
3233
<html outputDirectory="build/coverage"/>
3334
<text outputFile="php://stdout" showUncoveredFiles="true"/>

0 commit comments

Comments
 (0)