Skip to content

phpunit/php-code-coverage 14.1.0

Choose a tag to compare

@github-actions github-actions released this 12 Apr 05:09
· 69 commits to main since this release
Immutable release. Only release title and notes can be modified.
14.1.0
a9a9019

Added

  • SebastianBergmann\CodeCoverage\Report\Facade::summary() method that returns a value object that provides the number of executable lines, the number of executed lines, and line coverage in percent (as well as the respective numbers for branches and paths when available)

Changed

  • The XML document of the code coverage report in Cobertura XML format no longer has the <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd"> line at the beginning. No document exists at this URL any more, referencing remote DTD URLs is problematic, and no common consumer of Cobertura XML relies on this line.

Fixed

  • #1147: CoversClass does not transitively target traits used by enumerations