<outT is RuleError>
final |
---|
Methods | ||
---|---|---|
public
static
|
getRuleErrorTypes(): array<int, array{string, array<array{(string|null), (string|null), (string|null)}>}>
|
# |
public
static
|
message(string $message): self<RuleError>
|
# |
public
|
line(int $line): self<T&LineRuleError>
|
# |
public
|
file(string $file, ?string $fileDescription = null): self<T&FileRuleError>
|
# |
public
|
tip(string $tip): self<T&TipRuleError>
|
# |
public
|
addTip(string $tip): self<T&TipRuleError>
|
# |
public
|
discoveringSymbolsTip(): self<T&TipRuleError>
|
# |
public
|
acceptsReasonsTip(list<string> $reasons): self<T&TipRuleError>
|
# |
public
|
treatPhpDocTypesAsCertainTip(): self<T&TipRuleError>
|
# |
public
|
identifier(string $identifier): self<T&IdentifierRuleError>
|
# |
public
|
metadata(mixed[] $metadata): self<T&MetadataRuleError>
|
# |
public
|
nonIgnorable(): self<T&NonIgnorableRuleError>
|
# |
public
|
build(): T
|
# |