Skip to content

Update dependency phpunit/php-code-coverage to v14#20

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/phpunit-php-code-coverage-14.x
Open

Update dependency phpunit/php-code-coverage to v14#20
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/phpunit-php-code-coverage-14.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 15, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpunit/php-code-coverage ^11.0^14.0 age adoption passing confidence

Release Notes

sebastianbergmann/php-code-coverage (phpunit/php-code-coverage)

v14.1.2: phpunit/php-code-coverage 14.1.2

Compare Source

Fixed
  • #​1150: Abstract method declarations are incorrectly counted as executable lines

v14.1.1: phpunit/php-code-coverage 14.1.1

Compare Source

Fixed
  • #​1149: Lines spanned by attributes are treated as executable

v14.1.0: phpunit/php-code-coverage 14.1.0

Compare Source

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

v14.0.0: phpunit/php-code-coverage 14.0.0

Compare Source

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

v13.0.2: phpunit/php-code-coverage 13.0.2

Compare Source

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

v13.0.1: phpunit/php-code-coverage 13.0.1

Compare Source

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

v13.0.0: phpunit/php-code-coverage 13.0.0

Compare Source

Removed
  • This component is no longer supported on PHP 8.3

v12.5.6: phpunit/php-code-coverage 12.5.6

Compare Source

Fixed
  • #​1150: Abstract method declarations are incorrectly counted as executable lines

v12.5.5: phpunit/php-code-coverage 12.5.5

Compare Source

Fixed
  • #​1149: Lines spanned by attributes are treated as executable

v12.5.4: phpunit/php-code-coverage 12.5.4

Compare Source

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

v12.5.3: phpunit/php-code-coverage 12.5.3

Compare Source

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

v12.5.2: phpunit/php-code-coverage 12.5.2

Compare Source

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

v12.5.1: phpunit/php-code-coverage 12.5.1

Compare Source

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

v12.5.0: phpunit/php-code-coverage 12.5.0

Compare Source

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

v12.4.0: phpunit/php-code-coverage 12.4.0

Compare Source

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

v12.3.8: phpunit/php-code-coverage 12.3.8

Compare Source

Fixed
  • #​1092: Error in DOMDocument::saveXML() is not handled
  • #​1094: No branch and path coverage in HTML report

v12.3.7: phpunit/php-code-coverage 12.3.7

Compare Source

Changed
  • Do not use __sleep() method (which will be deprecated in PHP 8.5)

v12.3.6: phpunit/php-code-coverage 12.3.6

Compare Source

Fixed
  • #​1091: HTML report renderer uses code coverage driver

v12.3.5: phpunit/php-code-coverage 12.3.5

Compare Source

Changed
  • #​1090: Only export properties for configuration, code coverage data, and test results when serializing CodeCoverage

v12.3.4: phpunit/php-code-coverage 12.3.4

Compare Source

Changed
  • Improved performance of MapBuilder::build()

v12.3.3: phpunit/php-code-coverage 12.3.3

Compare Source

Changed
  • #​1085: Improve performance by skipping empty lines after filter has been applied

v12.3.2: phpunit/php-code-coverage 12.3.2

Compare Source

Changed
  • Add coverage and complexity columns to class and method complexity tables
  • Add CRAP to graph tooltip
Fixed
  • #​1081: Class complexity scatter chart tooltips show incorrect class

v12.3.1: phpunit/php-code-coverage 12.3.1

Compare Source

Changed
  • Changed CSS for HTML report to not use common ligatures as this sometimes lead to hard-to-read code
  • Updated Bootstrap to version 5.3.6 for HTML report

v12.3.0: phpunit/php-code-coverage 12.3.0

Compare Source

Changed
  • #​1080: Support for reporting code coverage information in OpenClover XML reporter; unlike the existing Clover XML reporter, which remains unchanged, this new reporter validates against the OpenClover project's XML schema definition, with one exception: we do not generate <testproject> element. This feature is experimental and the generated XML might change in order to improve compliance with the OpenClover project's XML schema definition further. Such changes will be made in bugfix and/or minor releases even if they break backward compatibility.

v12.2.1: phpunit/php-code-coverage 12.2.1

Compare Source

Changed
  • Safeguard file_get_contents() call with is_file() call to avoid problems with error handlers that act on suppressed warnings

v12.2.0: phpunit/php-code-coverage 12.2.0

Compare Source

Changed
  • #​1074: Use more efficient AttributeParentConnectingVisitor
  • #​1076: Replace unmaintained JavaScript library for charts with billboard.js
  • Reduced number of I/O and hashing operations when using the static analysis cache
  • Use SHA-256 instead of MD5 to generate cache keys for static analysis cache (as SHA-256 is significantly faster than MD5 with PHP >= 8.4 on modern CPUs)

v12.1.2: phpunit/php-code-coverage 12.1.2

Compare Source

Fixed
  • #​1069: Check for unintentionally covered code is wrong

v12.1.1: phpunit/php-code-coverage 12.1.1

Compare Source

Fixed
  • Child classes of child classes are not considered for ClassesThatExtendClass target

v12.1.0: phpunit/php-code-coverage 12.1.0

Compare Source

Changed
  • CacheWarmer::warmCache() now returns the number of cache hits and cache misses

v12.0.5: phpunit/php-code-coverage 12.0.5

Compare Source

Fixed
  • #​1064: Code Coverage targets are handled in case-sensitive manner

v12.0.4: phpunit/php-code-coverage 12.0.4

Compare Source

Fixed
  • #​1063: HTML report highlights argument named fn differently than other named arguments

v12.0.3: phpunit/php-code-coverage 12.0.3

Compare Source

Fixed
  • #CoversClass does not target code in parent class(es)

v12.0.2: phpunit/php-code-coverage 12.0.2

Compare Source

Changed
  • Changed version identifier for static analysis cache from "MD5 over source code" to Version::id()

v12.0.1: phpunit/php-code-coverage 12.0.1

Compare Source

Fixed
  • #​1061: Enumerations cannot be targeted for code coverage

v12.0.0: phpunit/php-code-coverage 12.0.0

Compare Source

Changed
  • CodeCoverage::stop() and CodeCoverage::append() now expect arguments of type TargetCollection instead of array to configure code coverage targets
Removed
  • Method CodeCoverage::detectsDeadCode()
  • Optional argument $linesToBeUsed of CodeCoverage::stop() and CodeCoverage::append() methods
  • This component is no longer supported on PHP 8.2
  • This component no longer supports Xdebug versions before Xdebug 3.1

v11.0.12: phpunit/php-code-coverage 11.0.12

Compare Source

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

v11.0.11: phpunit/php-code-coverage 11.0.11

Compare Source

Changed
  • #​1085: Improve performance by skipping empty lines after filter has been applied

v11.0.10: phpunit/php-code-coverage 11.0.10

Compare Source

Changed
  • Changed CSS for HTML report to not use common ligatures as this sometimes lead to hard-to-read code
  • Updated Bootstrap to version 5.3.6 for HTML report

v11.0.9: phpunit/php-code-coverage 11.0.9

Compare Source

Changed
  • Changed version identifier for static analysis cache from "MD5 over source code" to Version::id()
  • The SebastianBergmann\CodeCoverage\Filter::includeUncoveredFiles() and SebastianBergmann\CodeCoverage\Filter::excludeUncoveredFiles() methods are no longer deprecated
Fixed
  • #​1063: HTML report highlights argument named fn differently than other named arguments

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Read more information about the use of Renovate Bot.

| datasource | package                   | from   | to     |
| ---------- | ------------------------- | ------ | ------ |
| packagist  | phpunit/php-code-coverage | 11.0.8 | 14.1.2 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added the renovate label Apr 15, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 15, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update phpunit/php-code-coverage:14.1.7 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phpunit/php-code-coverage ^14.0, found phpunit/php-code-coverage[dev-main, 14.0.0, ..., 14.2.x-dev (alias of dev-main)] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - phpunit/phpunit is locked to version 11.5.2 and an update of this package was not requested.
    - phpunit/phpunit 11.5.2 requires php >=8.2 -> your php version (8.1.99; overridden via config.platform, actual: 8.1.34) does not satisfy that requirement.
  Problem 3
    - symfony/css-selector is locked to version v7.2.0 and an update of this package was not requested.
    - symfony/css-selector v7.2.0 requires php >=8.2 -> your php version (8.1.99; overridden via config.platform, actual: 8.1.34) does not satisfy that requirement.
  Problem 4
    - symfony/dom-crawler is locked to version v7.2.0 and an update of this package was not requested.
    - symfony/dom-crawler v7.2.0 requires php >=8.2 -> your php version (8.1.99; overridden via config.platform, actual: 8.1.34) does not satisfy that requirement.
  Problem 5
    - axleus/axleus-core is locked to version dev-master and an update of this package was not requested.
    - axleus/axleus-core dev-master requires mimmi20/mezzio-navigation-laminasviewrenderer ^4.0.0 || ^5.0.0 -> satisfiable by mimmi20/mezzio-navigation-laminasviewrenderer[5.0.2].
    - mimmi20/mezzio-navigation-laminasviewrenderer 5.0.2 requires php ~8.3.0 || ~8.4.0 || ~8.5.0 -> your php version (8.1.99; overridden via config.platform, actual: 8.1.34) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants