-
-
Notifications
You must be signed in to change notification settings - Fork 0
CoverageSummaryLoader
github-actions edited this page Apr 11, 2026
·
1 revision
Loads line coverage metrics from the serialized PHPUnit coverage-php output.
- Full name:
\FastForward\DevTools\PhpUnit\Coverage\CoverageSummaryLoader - This class is marked as final and can't be subclassed
- This class implements:
\FastForward\DevTools\PhpUnit\Coverage\CoverageSummaryLoaderInterface - This class is a Final class
Loads the coverage summary from a PHPUnit coverage-php report file.
public load(string $coverageReportPath): \FastForward\DevTools\PhpUnit\Coverage\CoverageSummaryParameters:
| Parameter | Type | Description |
|---|---|---|
$coverageReportPath |
string | Path to the PHPUnit coverage-php report file |
Return Value:
Extracted line coverage summary
Throws:
When the report file does not exist or contains invalid data