Releases: sebastianbergmann/php-code-coverage
Releases · sebastianbergmann/php-code-coverage
phpunit/php-code-coverage 14.0.0
Immutable
release. Only release title and notes can be modified.
Added
SebastianBergmann\CodeCoverage\Serialization\Serializerclass for serializingSebastianBergmann\CodeCoverage\CodeCoverageobjects in a versioned format to a fileSebastianBergmann\CodeCoverage\Serialization\Unserializerclass for unserializingSebastianBergmann\CodeCoverage\CodeCoverageobjects from a file creating usingSebastianBergmann\CodeCoverage\Serialization\SerializerSebastianBergmann\CodeCoverage\Report\Facadeclass for generating reports from bothSebastianBergmann\CodeCoverage\CodeCoverageobjects (usingFacade::fromObject()) as well as from data unserialized withSebastianBergmann\CodeCoverage\Serialization\Unserializer::unserialize()(usingFacade::fromSerializedData())- #925: Serialized code coverage data (generated using PHPUnit's
--coverage-php, for example) should use relative paths
Changed
- #1142: The HTML report now uses a more colorblind-friendly blue/amber/orange palette
- The HTML report's dashboard now uses PHP-rendered SVG bubble charts (coverage vs. complexity vs. executable lines) and CRAP index tables instead of client-side Billboard.js charts
- The report generation classes are now internal; the new
SebastianBergmann\CodeCoverage\Report\Facadeclass must be used for report generation - The format of the file written by
SebastianBergmann\CodeCoverage\Serialization\Serializeris incompatible with the format of the file that was written bySebastianBergmann\CodeCoverage\Report\PHPin the past - The
<build>element and its children of the XML report generated bySebastianBergmann\CodeCoverage\Report\Xml\Facaderequire the optional arguments to be passed to theprocess()method - The
TestSizeandTestStatusvalue objects are now enumerations
Fixed
- Configuring colors for the HTML report no longer worked after support for dark mode was added
Removed
- The
SebastianBergmann\CodeCoverage\Report\PHPclass was removed, use the newSebastianBergmann\CodeCoverage\Serializerclass instead
phpunit/php-code-coverage 13.0.2
Immutable
release. Only release title and notes can be modified.
Fixed
- #1143: Race condition in
CachingSourceAnalyser::read()with parallel test runners
phpunit/php-code-coverage 13.0.1
Immutable
release. Only release title and notes can be modified.
Fixed
- #1135: Internal methods
driverIs*()must not assume thatCodeCoverage::$driveris set
phpunit/php-code-coverage 13.0.0
Immutable
release. Only release title and notes can be modified.
Removed
- This component is no longer supported on PHP 8.3
phpunit/php-code-coverage 12.5.3
Immutable
release. Only release title and notes can be modified.
Fixed
- #1135: Internal methods
driverIs*()must not assume thatCodeCoverage::$driveris set
phpunit/php-code-coverage 12.5.2
Immutable
release. Only release title and notes can be modified.
Fixed
- #1131: Invalid XML generated when both PCOV and Xdebug are loaded
phpunit/php-code-coverage 11.0.12
Immutable
release. Only release title and notes can be modified.
phpunit/php-code-coverage 12.5.1
Immutable
release. Only release title and notes can be modified.
Changed
- #1125: Improve performance of XML report by using XMLWriter instead of DOM
phpunit/php-code-coverage 12.5.0
Immutable
release. Only release title and notes can be modified.
Added
- Option to not generate the
<source>element for the XML report
Changed
- #1102, #1111, #1112, #1113, #1114, #1115, #1116, #1117, #1118, #1119, #1120, #1121, #1122, #1123, #1124: Improve performance of XML report
- #1107: Do not sort code coverage data over and over
- #1108: Do not sort covered files data over and over
- #1109: Represent line coverage data using objects
- #1126: Add test execution time to
<test>elements underprojects/testsin the XML reports index file - #1127: Add SHA-1 hash of content of SUT source file to XML report
phpunit/php-code-coverage 12.4.0
Added
- #1095: Support for light/dark mode in HTML report