final class FindingPage
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Everything worth reporting: where to look first, then every finding under its rule.

The question behind a finding is usually about code rather than about one statement — which functions build SQL out of values they do not control — so the page opens with the functions ranked by what was reported on them, and only then lists the statements rule by rule.

Methods§

public function __construct(
    ?HtmlText $text = null,
    ?StatementList $list = null,
    ?Palette $palette = null,
)

Wires the page to the rendering it is written with.

Parameters

$text?HtmlText
$list?StatementList
$palette?Palette
Calls 3
public function hotspots(ReportSite $site): string
public function section(
    ReportSite $site,
    FindingRule $rule,
    list<CatalogEntry> $entries,
): string
public function anchors(ReportSite $site): list<array{string, string}>

The sections of the page, for the navigation.

Parameters

Returns

list<array{string, string}>
Test cases 1
Called from 1
Calls 2

Private surface 3§

Implementation details, listed for orientation only.

private HtmlText $text
private StatementList $list
private Palette $palette

Test cases 7§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 5
Other tests reaching this symbol 2

Relations§

Instantiated in 1
Method calls 2