stable

php-phpunit-php-code-coverage14-14.2.2-1.fc43

FEDORA-2026-211fd6bd86 created by remi 4 weeks ago for Fedora 43

Version 14.2.2 - 2026-06-08

Fixed

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

Version 14.2.1 - 2026-06-07

Added

  • RawCodeCoverageData::fromLineAndBranchCoverage()

Version 14.2.0 - 2026-06-05

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

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2026-211fd6bd86

This update has been submitted for testing by remi.

4 weeks ago

This update's test gating status has been changed to 'ignored'.

4 weeks ago

This update has been pushed to testing.

4 weeks ago

This update has been submitted for stable by bodhi.

3 weeks ago

This update has been pushed to stable.

3 weeks ago

Please log in to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
7 days
Dates
submitted
4 weeks ago
in testing
4 weeks ago
in stable
3 weeks ago
approved
3 weeks ago

Automated Test Results