inti project

This commit is contained in:
root
2026-05-29 04:33:03 -04:00
commit cdeab1796f
699 changed files with 20516 additions and 0 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,
];
}
}