Skip to content

Commit

Permalink
Add support for php-code-coverage v12
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Feb 7, 2025
1 parent 0b2c1a9 commit 2f12798
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- "8.1"

php-code-coverage-version:
- "^12.0"
- "^11.0"
- "^10.1.16"

Expand All @@ -44,6 +45,10 @@ jobs:
symfony-version: "^7.0.3"
- php-version: "8.1"
php-code-coverage-version: "^11.0"
- php-version: "8.2"
php-code-coverage-version: "^12.0"
- php-version: "8.1"
php-code-coverage-version: "^12.0"

steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## [Unreleased] - 2024-xx-xx
## [Unreleased] - 2025-xx-xx

## [5.3.7] - 2025-02-07
### Added
- Compatibility with `phpunit/php-code-coverage` v12

## [5.3.6] - 2024-11-16
### Fixed
Expand Down Expand Up @@ -130,8 +134,9 @@
- Support for Symfony components older than `<3.4`
- Support for HHVM

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

[5.3.7]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.6..v5.3.7
[5.3.6]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.5..v5.3.6
[5.3.5]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.4..v5.3.5
[5.3.4]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.3..v5.3.4
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"composer-runtime-api": "^2.0",
"behat/behat": "^3.15",
"composer/semver": "^3.0",
"phpunit/php-code-coverage": "^10.1||^11.0",
"phpunit/php-code-coverage": "^10.1||^11.0||^12.0",
"symfony/config": "^5.4.35||^6.3.12||^7.0.3",
"symfony/console": "^5.4.35||^6.3.12||^7.0.3",
"symfony/dependency-injection": "^5.3.35||^6.3.12||^7.0.3",
"symfony/event-dispatcher": "^5.4.35||^6.3.12||^7.0.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.49.0",
"phpunit/phpunit": "^10.5.27||^11.4.3",
"phpunit/phpunit": "^10.5.27||^11.4.3||^12.0",
"symfony/filesystem": "^5.4.35||^6.3.12||^7.0.3"
},
"suggest": {
Expand Down
11 changes: 0 additions & 11 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,6 @@ support for multiple versions of the coverage library to ease the upgrade path,
significantly incompatible with older ones or where a compelling new feature exists the minimum supported version may be
raised. Fixes for any subsequently discovered bugs will be backported as appropriate.

+---------------------+--------+-------------------+----------------+--------------------------+
| Behat Code Coverage | Behat | php-code-coverage | PHPUnit | Notes |
+=====================+========+===================+================+==========================+
| 5.3 | 3.10+ | 9.2+, 10, 11 | 9.5.5+, 10, 11 | |
+---------------------+--------+-------------------+----------------+--------------------------+
| 5.2 | 3.5+ | 9.2+ | 9.4+ | Cobertura format support |
+---------------------+--------+-------------------+----------------+--------------------------+
| 5.1 | 3.5+ | 9.1+ | 9.3.4+ | Caching between runs |
+---------------------+--------+-------------------+----------------+--------------------------+
| 5.0 | 3.5+ | 6, 7, 8, 9 | 7, 8, 9 | |
+---------------------+--------+-------------------+----------------+--------------------------+

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

0 comments on commit 2f12798

Please sign in to comment.