Releases: dvdoug/behat-code-coverage
Releases · dvdoug/behat-code-coverage
5.2.1
5.2.0
5.1.1
5.1.0
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 Behat/Behat#1296
5.0.0
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-coverage branchAndPathCoverage
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
instead - Removed
forceCoversAnnotation
andmapTestClassNameToCoveredClassName
configuration keys, these options are not supported byphp-code-coverage
anymore - Removed 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 terminology - Removed 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 feature - Removed legacy
LeanPHP\Behat\CodeCoverage
alias