update project
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace App\Support\Architecture;
|
||||
|
||||
final readonly class ArchitectureRule
|
||||
{
|
||||
/**
|
||||
* @param string[] $paths
|
||||
* @param string[] $patterns
|
||||
* @param string[] $excludePaths
|
||||
*/
|
||||
public function __construct(
|
||||
public string $id,
|
||||
public string $description,
|
||||
public string $severity,
|
||||
public array $paths,
|
||||
public array $patterns,
|
||||
public string $message,
|
||||
public ?string $suggestedFix = null,
|
||||
public array $excludePaths = [],
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user