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
Methods
- severity() : int
- Severity rank: higher is worse.
- worst() : self
- The worse of this status and another one.
Cases
Pass
Warn
Fail
Methods
severity()
Severity rank: higher is worse.
public
severity() : int
Return values
intworst()
The worse of this status and another one.
public
worst(self $other) : self
Parameters
- $other : self