enum Severity: string
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

How much attention a finding deserves.

Cases§

case Info = 'info'
case Low = 'low'
case Medium = 'medium'
case High = 'high'

Methods§

public function rank(): int

The order severities sort in, highest first.

Returns

int
Called from 1
Calls 4
public function atLeast(self $other): bool

Whether this severity is at least as high as the given one.

Parameters

$otherself

Returns

bool
Calls 2

Test cases 32§

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 30

Relations§

Static calls 3
Constant reads 15
Type declarations 8