Skip to content

5.0.0

Compare
Choose a tag to compare
@dvdoug dvdoug released this 07 Aug 12:02
· 148 commits to master since this release

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 to true explicitly will warn when the feature cannot be used.
  • Support for PCOV

Removed

  • The old report configuration key, use reports instead
  • Removed forceCoversAnnotation and mapTestClassNameToCoveredClassName configuration keys, these options are not supported by php-code-coverage anymore
  • Removed the whitelist configuration key to align with php-code-coverage v9 terminology. All former subkeys of whitelist are now subkeys of filter
  • Renamed addUncoveredFilesFromWhitelist and processUncoveredFilesFromWhitelist to includeUncoveredFiles and processUncoveredFiles to align with php-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