ldc-cocotte/tests/Architecture/InfraTest.php

10 lines
230 B
PHP

<?php
declare(strict_types=1);
describe('infra coding rules', function (): void {
arch('No App classes are used in Infra')
->expect('Infrastructure')
->not->toUse('App')
->ignoring('App\Models');
});