ldc-cocotte/tests/Architecture/InfraTest.php

12 lines
261 B
PHP

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