Changelog
Unreleased - 2024-xx-xx
5.3.6 - 2024-11-16
Fixed
Don’t show any warning messages about missing coverage driver when
--no-coverage
CLI option is used
5.3.5 - 2024-09-22
Changed
Use
stderr
instead ofstdout
for warnings
5.3.4 - 2024-04-03
Fixed
Better handling of relative paths
5.3.3 - 2024-02-03
Added
Compatibility with
phpunit/php-code-coverage
v11
Changed
Minimum
phpunit/php-code-coverage
version bumped to 10.1
5.3.2.1 - 2024-09-15
Fixed
Better handling of PCOV and Xdebug running side by side
5.3.2 - 2023-12-09
Added
Support for Symfony 7
Removed
Support for Symfony 4
5.3.1 - 2023-05-08
Changed
Stopped using some deprecated methods inside
phpunit/php-code-coverage
v10.1
Fixed
Better handling of PCOV and Xdebug running side by side
5.3.0 - 2023-02-04
Added
Compatibility with
phpunit/php-code-coverage
v10Added
colors
andcustomCSSFile
options to HTML report configuration
5.2.2 - 2021-11-30
Added
Support for Symfony 6
Changed
Improved error messages when a coverage driver cannot be found
Deprecated
processUncoveredFiles
setting, it has been removed as of php-code-coverage v10.
5.2.1 - 2021-01-10
Fixed
When Xdebug was enabled, but its coverage feature was disabled an exception was thrown. This scenario is now treated the same as when no coverage driver is loaded at all (a warning is printed but Behat is allowed to run to completion)
5.2.0 - 2020-10-11
Added
Added support for the Cobertura report format
Changed
Minimum
phpunit/php-code-coverage
version bumped to 9.2
5.1.1 - 2020-08-14
Fixed
Make the
--no-coverage
option work again
5.1.0 - 2020-08-10
Added
Support for
phpunit/php-code-coverage
’s static analysis cache introduced in v9.1. This can be configured via thecache
key in behat.yml, otherwise defaults tosys_get_temp_dir() . '/behat-code-coverage-cache'
Changed
Minimum
phpunit/php-code-coverage
version bumped to 9.1
Removed
Support for Symfony 3.4, in alignment with https://github.com/Behat/Behat/issues/1296
5.0.1 - 2021-09-13
Fixed
Make the
--no-coverage
option work again
5.0.0 - 2020-08-07
Added
Compatibility with
phpunit/php-code-coverage
v9. Branch and path coverage is automatically enabled when running under Xdebug. For more information on this feature, see https://doug.codes/php-code-coveragebranchAndPathCoverage
configuration key to enable/disable path and branch coverage. Setting this totrue
explicitly will warn when the feature cannot be used.Support for PCOV
Removed
The old
report
configuration key, usereports
insteadRemoved
forceCoversAnnotation
andmapTestClassNameToCoveredClassName
configuration keys, these options are not supported byphp-code-coverage
anymoreRemoved the
whitelist
configuration key to align withphp-code-coverage
v9 terminology. All former subkeys ofwhitelist
are now subkeys offilter
Renamed
addUncoveredFilesFromWhitelist
andprocessUncoveredFilesFromWhitelist
toincludeUncoveredFiles
andprocessUncoveredFiles
to align withphp-code-coverage
v9 terminologyRemoved the custom driver selection logic and replaced it with built-in logic from
php-code-coverage
The
RemoteXDebug
driver, it was a companion to an old Symfony bundle, not a generally-usable featureRemoved legacy
LeanPHP\Behat\CodeCoverage
alias
4.1.1 - 2020-02-15
Added
Compatibility with
phpunit/php-code-coverage
v8
4.1.0 - 2019-11-04
Added
Added
reports
configuration key to enable generation of multiple coverage output formats, with schema validation of the available format-specific options
Deprecated
The
report
configuration key as it only allowed for a single report type
4.0.1 - 2019-08-04
Added
Added back support for
LeanPHP\Behat\CodeCoverage
inbehat.yml
for seamless drop-in of the forkSupport for
phpdbg
Fixed
Issue with directories containing dashes in the name
Issue with
xdebug
anddelete
calls
4.0.0 - 2019-08-04
Added
Support for version 7.0 of
phpunit/php-code-coverage
Changed
Changed namespace of all code to
LeanPHP\Behat\CodeCoverage
fromDVDoug\Behat\CodeCoverage
Minimum version of PHP supported is
7.1
Removed
Support for Symfony components older than
<3.4
Support for HHVM