final |
|---|
readonly |
One finding of a rule: what is wrong where, and how to fix it.
The subject is what the finding is about: a namespace, a file or a key. Errors and warnings always name their fix: a command, a file and line, or a docs page. That is why only {@see notice()} lets you leave it out.
| Methods | ||
|---|---|---|
public
static
|
error(string $subject, string $finding, string $fix): self
|
# |
public
static
|
warning(string $subject, string $finding, string $fix): self
|
# |
public
static
|
notice(string $subject, string $finding, ?string $fix = null): self
|
# |