CapabilityGraphResult
The outcome of a {@see CapabilityGraphValidator} run.
CapabilityGraphResult::__construct()
public function __construct(int $pluginCount, array $violations, array $degradations):Parameters
| Name | Type | Description |
|---|---|---|
| $pluginCount | int | |
| $violations | list<string> | unmet hard requires + dependency cycles (fatal) |
| $degradations | list<string> | unprovided `suggests` (informational, never fatal) |
CapabilityGraphResult::ok()
public function ok(): boolTrue when there are no unmet requires and no dependency cycles.