Skip to content

Releases: sebastianbergmann/php-code-coverage

phpunit/php-code-coverage 14.0.0

03 Apr 05:12
Immutable release. Only release title and notes can be modified.
14.0.0
24f1d73

Choose a tag to compare

Added

  • SebastianBergmann\CodeCoverage\Serialization\Serializer class for serializing SebastianBergmann\CodeCoverage\CodeCoverage objects in a versioned format to a file
  • SebastianBergmann\CodeCoverage\Serialization\Unserializer class for unserializing SebastianBergmann\CodeCoverage\CodeCoverage objects from a file creating using SebastianBergmann\CodeCoverage\Serialization\Serializer
  • SebastianBergmann\CodeCoverage\Report\Facade class for generating reports from both SebastianBergmann\CodeCoverage\CodeCoverage objects (using Facade::fromObject()) as well as from data unserialized with SebastianBergmann\CodeCoverage\Serialization\Unserializer::unserialize() (using Facade::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\Facade class must be used for report generation
  • The format of the file written by SebastianBergmann\CodeCoverage\Serialization\Serializer is incompatible with the format of the file that was written by SebastianBergmann\CodeCoverage\Report\PHP in the past
  • The <build> element and its children of the XML report generated by SebastianBergmann\CodeCoverage\Report\Xml\Facade require the optional arguments to be passed to the process() method
  • The TestSize and TestStatus value 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\PHP class was removed, use the new SebastianBergmann\CodeCoverage\Serializer class instead

phpunit/php-code-coverage 13.0.2

01 Apr 14:13
Immutable release. Only release title and notes can be modified.
13.0.2
2ea1bcd

Choose a tag to compare

Fixed

  • #1143: Race condition in CachingSourceAnalyser::read() with parallel test runners

phpunit/php-code-coverage 13.0.1

06 Feb 06:06
Immutable release. Only release title and notes can be modified.
13.0.1
a8b58fd

Choose a tag to compare

Fixed

  • #1135: Internal methods driverIs*() must not assume that CodeCoverage::$driver is set

phpunit/php-code-coverage 13.0.0

06 Feb 04:55
Immutable release. Only release title and notes can be modified.
13.0.0
fde966e

Choose a tag to compare

Removed

  • This component is no longer supported on PHP 8.3

phpunit/php-code-coverage 12.5.3

06 Feb 06:02
Immutable release. Only release title and notes can be modified.
12.5.3
b015312

Choose a tag to compare

Fixed

  • #1135: Internal methods driverIs*() must not assume that CodeCoverage::$driver is set

phpunit/php-code-coverage 12.5.2

24 Dec 07:04
Immutable release. Only release title and notes can be modified.
12.5.2
4a9739b

Choose a tag to compare

Fixed

  • #1131: Invalid XML generated when both PCOV and Xdebug are loaded

phpunit/php-code-coverage 11.0.12

24 Dec 07:03
Immutable release. Only release title and notes can be modified.
11.0.12
2c1ed04

Choose a tag to compare

Fixed

  • #1092: Error in DOMDocument::saveXML() is not handled
  • #1131: Invalid XML generated when both PCOV and Xdebug are loaded

phpunit/php-code-coverage 12.5.1

08 Dec 07:20
Immutable release. Only release title and notes can be modified.
12.5.1
c467c59

Choose a tag to compare

Changed

  • #1125: Improve performance of XML report by using XMLWriter instead of DOM

phpunit/php-code-coverage 12.5.0

29 Nov 07:16
Immutable release. Only release title and notes can be modified.
12.5.0
bca180c

Choose a tag to compare

Added

  • Option to not generate the <source> element for the XML report

Changed

phpunit/php-code-coverage 12.4.0

24 Sep 13:45
12.4.0
67e8aed

Choose a tag to compare

Added

  • #1095: Support for light/dark mode in HTML report