update project

This commit is contained in:
root
2026-05-30 01:11:35 -04:00
parent 3a0628ecc7
commit 2225f6bc72
9743 changed files with 1122482 additions and 59 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App\Support\Release;
final readonly class ValidationResult
{
public function __construct(
public string $module,
public string $check,
public string $status,
public array $metrics = [],
public array $warnings = [],
) {}
public function passed(): bool
{
return $this->status === 'pass';
}
public function toArray(): array
{
return [
'module' => $this->module,
'check' => $this->check,
'status' => $this->status,
'metrics' => $this->metrics,
'warnings' => $this->warnings,
];
}
}