Skip to content

chore(deps): update dependency phpunit/php-code-coverage to v14 - #2

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

chore(deps): update dependency phpunit/php-code-coverage to v14#2
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/phpunit-php-code-coverage-14.x

Conversation

@renovate

@renovate renovate Bot commented Aug 14, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
phpunit/php-code-coverage ^11.0 || ^12.0^11.0 || ^12.0 || ^14.0 age confidence

Release Notes

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

v14.3.1: phpunit/php-code-coverage 14.3.1

Compare Source

Changed
  • The test size filter of the HTML report now disables the buttons for test sizes that have no coverage data
  • The test size filter of the HTML report is no longer rendered when the coverage data has no test sizes at all

v14.3.0: phpunit/php-code-coverage 14.3.0

Compare Source

Added
  • #​1140: Class-oriented HTML report
  • #​1141: Improve visualization of branch coverage and path coverage in the HTML report
  • #​1153: Filter HTML code coverage report by test size
  • #​1210: Filesystem-based targeting
  • #​1231: Identify dead code using static analysis
  • Record how often a test executed a line or traversed a branch or path (the <covered> elements of the XML report now have a count attribute; drivers that do not collect hit counts report 1)
Changed
  • #​1259: Degrade gracefully when a source file cannot be parsed
  • The HTML report no longer depends on Bootstrap and jQuery; its markup, stylesheet, and JavaScript have been rewritten
  • The headline coverage figures of a directory, file, namespace, or class are now shown above its coverage table instead of in a Total row
  • The dashboard shows the bubble chart and the CRAP index table side by side, for classes as well as for methods
  • The CSS custom properties that carry the configured colors were renamed from --phpunit-* to --coverage-*; custom CSS files that use these, or that use Bootstrap's --bs-* custom properties, need to be updated
  • SebastianBergmann\CodeCoverage\Report\Html\Colors::default() now uses #eef1f5 and #&#8203;22272e for the breadcrumb colors instead of var(--bs-gray-200) and var(--bs-gray-800)
  • The file listing of a directory no longer links directly to the branch and path coverage views of a file; these are reachable through the tabs on the file's own page
  • The serialization format for .cov files was bumped from version 1 to version 2; files serialized with previous versions cannot be loaded or merged any more
Fixed
  • #​1258: Coverage of less than 100% can be displayed as 100.00% due to rounding

v14.2.4: phpunit/php-code-coverage 14.2.4

Compare Source

  • Source files were parsed repeatedly instead of read from the static analysis result cache, which made runs with path coverage enabled appear to hang

v14.2.3: phpunit/php-code-coverage 14.2.3

Compare Source

Fixed
  • #​1240: Dark-mode HTML report: Warning and Danger backgrounds are indistinguishable for colorblind users
  • #​1244: Do not build code unit map when test has no coverage targets

v14.2.2: phpunit/php-code-coverage 14.2.2

Compare Source

Fixed
  • #​1230: Short-form property hook bodies wrongly classified as executable

v14.2.1: phpunit/php-code-coverage 14.2.1

Compare Source

Added
  • RawCodeCoverageData::fromLineAndBranchCoverage()

v14.2.0: phpunit/php-code-coverage 14.2.0

Compare Source

Added
  • SebastianBergmann\CodeCoverage\Driver\Granularity enumeration with Line, LineAndBranch, and LineBranchAndPath cases
  • SebastianBergmann\CodeCoverage\Driver\Selector::driver(Filter, Granularity) for selecting a driver by required granularity
  • SebastianBergmann\CodeCoverage\NoSupportedDriverAvailableException thrown when no driver supports the requested granularity
Changed
  • #​1186: Merger::merge() now accepts any kind of iterable
  • Reduced overhead in static analysis
  • The HTML report now distinguishes three rendering modes (line, line + branch, line + branch + path) so that a driver providing branch coverage without path coverage no longer forces path-coverage UI to appear with empty data
  • The Text report now gates the Branches: and Paths: lines on the presence of the corresponding data independently
  • Various internal refactorings to improve code readability
Deprecated
  • SebastianBergmann\CodeCoverage\Driver\Selector::forLineCoverage(), use Selector::select() with Granularity::Line instead
  • SebastianBergmann\CodeCoverage\Driver\Selector::forLineAndPathCoverage(), use Selector::select() with Granularity::LineBranchAndPath instead
  • SebastianBergmann\CodeCoverage\CodeCoverage::enableBranchAndPathCoverage(), use Selector::select() with Granularity::LineBranchAndPath instead
  • SebastianBergmann\CodeCoverage\CodeCoverage::disableBranchAndPathCoverage(), use Selector::select() with Granularity::Line instead
  • SebastianBergmann\CodeCoverage\CodeCoverage::collectsBranchAndPathCoverage()
  • SebastianBergmann\CodeCoverage\BranchAndPathCoverageNotSupportedException, replaced by BranchCoverageNotSupportedException and PathCoverageNotSupportedException
Fixed
  • #​1159: Statements inside a closure passed as a call argument are incorrectly reported as not covered

v14.1.10: phpunit/php-code-coverage 14.1.10

Compare Source

Fixed
  • #​1212: Filenames in HTML report are not escaped

v14.1.9: phpunit/php-code-coverage 14.1.9

Compare Source

Fixed
  • #​1160: Ternary inside array spread: else-arm's line is falsely reported as not covered

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

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 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

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/phpunit-php-code-coverage-14.x branch 4 times, most recently from 0bf143e to 73deef7 Compare August 21, 2026 19:43
@renovate
renovate Bot force-pushed the renovate/phpunit-php-code-coverage-14.x branch from 73deef7 to 704edb6 Compare August 21, 2026 21:15
@github-actions

Copy link
Copy Markdown

Code Coverage Report Summary:
Classes: 0.00% (0/1)
Methods: 85.00% (17/20)
Lines: 97.90% (140/143)

@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

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.

0 participants