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

One thing worth reporting about a catalogued statement.

Properties§

public FindingRule $rule
public Severity $severity
public string $message

Methods§

public function __construct(
    public FindingRule $rule,
    public Severity $severity,
    public string $message,
)

Parameters

$ruleFindingRuleWhat the finding is about
$severitySeverityHow much attention it deserves
$messagestringWhat to tell the reader
public static function of(FindingRule $rule, string $message): self

A finding at the rule's own severity.

Parameters

$ruleFindingRule
$messagestring

Returns

self
Test cases 41
Called from 7
Calls 2

Test cases 57§

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

Dedicated tests 2
Other tests reaching this symbol 55

Relations§

Static calls 7
Type declarations 1