BoundaryRuleResult
The outcome of checking one {@see BoundaryRule}: which file:line references tripped it, if any.
BoundaryRuleResult::__construct()
public function __construct(string $label, string $dir, bool $skipped, array $violations):Parameters
| Name | Type | Description |
|---|---|---|
| $label | string | |
| $dir | string | |
| $skipped | bool | |
| $violations | list<string> | each formatted "relative/path.php:LINE <offending line>" |
BoundaryRuleResult::ok()
public function ok(): boolTrue when the rule found no violations.