Skip to content

CoverageSummaryLoaderInterface

github-actions edited this page Apr 11, 2026 · 1 revision

Loads PHPUnit coverage-php reports and exposes their line coverage summary.


  • Full name: \FastForward\DevTools\PhpUnit\Coverage\CoverageSummaryLoaderInterface

Methods

load

Loads the coverage summary from a PHPUnit coverage-php report file.

public load(string $coverageReportPath): \FastForward\DevTools\PhpUnit\Coverage\CoverageSummary

Parameters:

Parameter Type Description
$coverageReportPath string Path to the PHPUnit coverage-php report file

Return Value:

Extracted coverage summary

Throws:

When the report file does not exist or contains invalid data


Clone this wiki locally