| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| phpunit_php-code-coverage 14.2.0 source code.tar.gz | 2026-06-05 | 164.0 kB | |
| phpunit_php-code-coverage 14.2.0 source code.zip | 2026-06-05 | 273.9 kB | |
| README.md | 2026-06-05 | 2.0 kB | |
| Totals: 3 Items | 439.8 kB | 0 | |
Added
SebastianBergmann\CodeCoverage\Driver\Granularityenumeration withLine,LineAndBranch, andLineBranchAndPathcasesSebastianBergmann\CodeCoverage\Driver\Selector::driver(Filter, Granularity)for selecting a driver by required granularitySebastianBergmann\CodeCoverage\NoSupportedDriverAvailableExceptionthrown 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:andPaths:lines on the presence of the corresponding data independently - Various internal refactorings to improve code readability
Deprecated
SebastianBergmann\CodeCoverage\Driver\Selector::forLineCoverage(), useSelector::select()withGranularity::LineinsteadSebastianBergmann\CodeCoverage\Driver\Selector::forLineAndPathCoverage(), useSelector::select()withGranularity::LineBranchAndPathinsteadSebastianBergmann\CodeCoverage\CodeCoverage::enableBranchAndPathCoverage(), useSelector::select()withGranularity::LineBranchAndPathinsteadSebastianBergmann\CodeCoverage\CodeCoverage::disableBranchAndPathCoverage(), useSelector::select()withGranularity::LineinsteadSebastianBergmann\CodeCoverage\CodeCoverage::collectsBranchAndPathCoverage()SebastianBergmann\CodeCoverage\BranchAndPathCoverageNotSupportedException, replaced byBranchCoverageNotSupportedExceptionandPathCoverageNotSupportedException
Fixed
- #1159: Statements inside a closure passed as a call argument are incorrectly reported as not covered