Skip to content

Commit 2f12798

Browse files
committed
Add support for php-code-coverage v12
1 parent 0b2c1a9 commit 2f12798

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- "8.1"
2222

2323
php-code-coverage-version:
24+
- "^12.0"
2425
- "^11.0"
2526
- "^10.1.16"
2627

@@ -44,6 +45,10 @@ jobs:
4445
symfony-version: "^7.0.3"
4546
- php-version: "8.1"
4647
php-code-coverage-version: "^11.0"
48+
- php-version: "8.2"
49+
php-code-coverage-version: "^12.0"
50+
- php-version: "8.1"
51+
php-code-coverage-version: "^12.0"
4752

4853
steps:
4954
- uses: actions/checkout@v4

CHANGELOG.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

3-
## [Unreleased] - 2024-xx-xx
3+
## [Unreleased] - 2025-xx-xx
4+
5+
## [5.3.7] - 2025-02-07
6+
### Added
7+
- Compatibility with `phpunit/php-code-coverage` v12
48

59
## [5.3.6] - 2024-11-16
610
### Fixed
@@ -130,8 +134,9 @@
130134
- Support for Symfony components older than `<3.4`
131135
- Support for HHVM
132136

133-
[Unreleased]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.6..master
137+
[Unreleased]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.7..master
134138

139+
[5.3.7]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.6..v5.3.7
135140
[5.3.6]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.5..v5.3.6
136141
[5.3.5]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.4..v5.3.5
137142
[5.3.4]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.3..v5.3.4

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.15",
1818
"composer/semver": "^3.0",
19-
"phpunit/php-code-coverage": "^10.1||^11.0",
19+
"phpunit/php-code-coverage": "^10.1||^11.0||^12.0",
2020
"symfony/config": "^5.4.35||^6.3.12||^7.0.3",
2121
"symfony/console": "^5.4.35||^6.3.12||^7.0.3",
2222
"symfony/dependency-injection": "^5.3.35||^6.3.12||^7.0.3",
2323
"symfony/event-dispatcher": "^5.4.35||^6.3.12||^7.0.3"
2424
},
2525
"require-dev": {
2626
"friendsofphp/php-cs-fixer": "^3.49.0",
27-
"phpunit/phpunit": "^10.5.27||^11.4.3",
27+
"phpunit/phpunit": "^10.5.27||^11.4.3||^12.0",
2828
"symfony/filesystem": "^5.4.35||^6.3.12||^7.0.3"
2929
},
3030
"suggest": {

docs/installation.rst

-11
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@ support for multiple versions of the coverage library to ease the upgrade path,
4141
significantly incompatible with older ones or where a compelling new feature exists the minimum supported version may be
4242
raised. Fixes for any subsequently discovered bugs will be backported as appropriate.
4343

44-
+---------------------+--------+-------------------+----------------+--------------------------+
45-
| Behat Code Coverage | Behat | php-code-coverage | PHPUnit | Notes |
46-
+=====================+========+===================+================+==========================+
47-
| 5.3 | 3.10+ | 9.2+, 10, 11 | 9.5.5+, 10, 11 | |
48-
+---------------------+--------+-------------------+----------------+--------------------------+
49-
| 5.2 | 3.5+ | 9.2+ | 9.4+ | Cobertura format support |
50-
+---------------------+--------+-------------------+----------------+--------------------------+
51-
| 5.1 | 3.5+ | 9.1+ | 9.3.4+ | Caching between runs |
52-
+---------------------+--------+-------------------+----------------+--------------------------+
53-
| 5.0 | 3.5+ | 6, 7, 8, 9 | 7, 8, 9 | |
54-
+---------------------+--------+-------------------+----------------+--------------------------+
5544

5645
.. _Composer: https://getcomposer.org
5746
.. _GitHub: https://github.com/dvdoug/behat-code-coverage

0 commit comments

Comments
 (0)