ignore App\Exceptions\Handler.php in arch laravel preset

This commit is contained in:
Muhammed Alkhudiry
2024-09-26 16:41:43 +03:00
committed by GitHub
parent 4e2987d438
commit bb3decf3cc

View File

@ -31,7 +31,7 @@ final class Laravel extends AbstractPreset
->ignoring('App\Enums\Concerns');
$this->expectations[] = expect('App\Features')
->toBeClasses()
->toBeClasses()->
->ignoring('App\Features\Concerns');
$this->expectations[] = expect('App\Features')
@ -39,7 +39,8 @@ final class Laravel extends AbstractPreset
$this->expectations[] = expect('App\Exceptions')
->classes()
->toImplement('Throwable');
->toImplement('Throwable')
->ignoring('App\Exceptions\Handler');
$this->expectations[] = expect('App')
->not->toImplement(Throwable::class)