VerificationResult
The outcome of running a {@see ControllerVerifier} or {@see EntityVerifier} against one class: a short subject label, the hard failures (`errors`), and the non-fatal advisories (`warnings`). `ok` is true whenever there are no errors — warnings alone never fail a verify run, matching the original `scripts/verify-*.php` exit-code contract (exit 0 on warnings-only).
VerificationResult::__construct()
public function __construct(string $subject, array $errors, array $warnings = []):Parameters
| Name | Type | Description |
|---|---|---|
| $subject | string | |
| $errors | list<string> | |
| $warnings | list<string> |
VerificationResult::ok()
public function ok(): boolTrue when there are no {@see self::$errors} — warnings alone never fail a verify run.
VerificationResult::render()
public function render(): stringHuman-readable one-banner-plus-bullets report, in the spirit of the original CLI scripts.