2026-06-14 21:32:07 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
describe('infra coding rules', function (): void {
|
|
|
|
|
arch('No App classes are used in Infra')
|
2026-11-15 18:10:28 +01:00
|
|
|
->expect('Infrastructure')
|
|
|
|
|
->not->toUse('App')
|
|
|
|
|
->ignoring('App\Models');
|
2026-06-14 21:32:07 +02:00
|
|
|
});
|