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
@@ -0,0 +1,27 @@
<?php declare(strict_types=1);
namespace App\Support\Architecture;
final readonly class ArchitectureViolation
{
public function __construct(
public string $ruleId,
public string $severity,
public string $file,
public int $line,
public string $message,
public ?string $suggestedFix = null,
) {}
public function toArray(): array
{
return [
'rule_id' => $this->ruleId,
'severity' => $this->severity,
'file' => $this->file,
'line' => $this->line,
'message' => $this->message,
'suggested_fix' => $this->suggestedFix,
];
}
}