Skip to content

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

Open
benjaminjonard wants to merge 1 commit into
1.8from
renovate/phpunit-php-code-coverage-14.x
Open

Update dependency phpunit/php-code-coverage to v14#1491
benjaminjonard wants to merge 1 commit into
1.8from
renovate/phpunit-php-code-coverage-14.x

Conversation

@benjaminjonard
Copy link
Copy Markdown
Owner

@benjaminjonard benjaminjonard commented Apr 6, 2026

This PR contains the following updates:

Package Change Age Confidence
phpunit/php-code-coverage 12.5.314.1.8 age confidence

Release Notes

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

v14.1.8: phpunit/php-code-coverage 14.1.8

Compare Source

Fixed
  • #​1159: Statements inside a closure passed as a call argument are incorrectly reported as not covered
  • case statements are treated as branch operators

v14.1.7: phpunit/php-code-coverage 14.1.7

Compare Source

Fixed
  • #​1154: Opening and closing lines of match (true) expressions are reported as not executed
  • #​1156: Scalar literals produce incorrect code coverage information

v14.1.6: phpunit/php-code-coverage 14.1.6

Compare Source

Fixed
  • #​1077: UnintentionallyCoveredCodeException should report ClassName::methodName when methods are targeted

v14.1.5: phpunit/php-code-coverage 14.1.5

Compare Source

Changed
  • #​941: Sort directories and files in strict alphabetical order
  • #​1077: UnintentionallyCoveredCodeException should report ClassName::methodName when methods are targeted
Fixed
  • #​491: Ensure strings are valid UTF-8 before passing them to XML APIs
  • #​919: Not all lines of an interface are ignored
  • #​1007: Incorrect branch/path coverage totals for uncovered files
  • #​1029: Lines of multiline ternary expressions inside array literals are not shown in coverage reports
  • #​1030: Start line of code unit includes attributes

v14.1.4: phpunit/php-code-coverage 14.1.4

Compare Source

Fixed
  • Added tokens for asymmetric visibility to the syntax highlighter used for the HTML report
  • Fixed whitespace issue in the HTML report for files with long lines

v14.1.3: phpunit/php-code-coverage 14.1.3

Compare Source

Fixed
  • #​1151: Version check in Unserializer::unserialize() is too restrictive

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

Configuration

📅 Schedule: (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 becomes conflicted, 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

This PR has been generated by Mend Renovate.

@benjaminjonard
Copy link
Copy Markdown
Owner Author

benjaminjonard commented Apr 6, 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.8 --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.1.8 (exact version match: 14.1.8 or 14.1.8.0), found phpunit/php-code-coverage[14.1.8] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - brianium/paratest is locked to version v7.20.0 and an update of this package was not requested.
    - brianium/paratest v7.20.0 requires phpunit/php-code-coverage ^12.5.3 || ^13.0.1 -> found phpunit/php-code-coverage[12.5.3, 12.5.4, 12.5.5, 12.5.6, 13.0.1, 13.0.2] but it conflicts with your root composer.json require (14.1.8).
  Problem 3
    - phpunit/phpunit is locked to version 12.5.14 and an update of this package was not requested.
    - phpunit/phpunit 12.5.14 requires phpunit/php-code-coverage ^12.5.3 -> found phpunit/php-code-coverage[12.5.3, 12.5.4, 12.5.5, 12.5.6] but it conflicts with your root composer.json require (14.1.8).

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

@benjaminjonard benjaminjonard force-pushed the renovate/phpunit-php-code-coverage-14.x branch from be9f1bd to 844b5b3 Compare April 13, 2026 23:28
@benjaminjonard benjaminjonard force-pushed the renovate/phpunit-php-code-coverage-14.x branch from 844b5b3 to 8f6fa3a Compare April 20, 2026 23:28
@benjaminjonard benjaminjonard force-pushed the renovate/phpunit-php-code-coverage-14.x branch from 8f6fa3a to a1ab5f5 Compare April 27, 2026 23:28
@benjaminjonard benjaminjonard force-pushed the renovate/phpunit-php-code-coverage-14.x branch from a1ab5f5 to 392c28f Compare May 4, 2026 23:28
@benjaminjonard benjaminjonard force-pushed the renovate/phpunit-php-code-coverage-14.x branch from 392c28f to a396d72 Compare May 11, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants