Documentation

CheckStatus : string
in package

Outcome of one diagnostic check, ordered by severity.

Pass is healthy, Warn is degraded but usable (a strict run treats it as broken), Fail is broken. A package and a whole report take the worst status of what they contain.

Table of Contents

Cases

Fail  = 'fail'
Pass  = 'pass'
Warn  = 'warn'

Methods

severity()  : int
Severity rank: higher is worse.
worst()  : self
The worse of this status and another one.

Cases

Methods

severity()

Severity rank: higher is worse.

public severity() : int
Return values
int

worst()

The worse of this status and another one.

public worst(self $other) : self
Parameters
$other : self
Return values
self
On this page

Search results