Merge pull request #1277 from MuhammedAlkhudiry/ignore-handler-in-laravel-preset

ignore App\Exceptions\Handler.php in arch laravel preset
This commit is contained in:
Nuno Maduro
2024-09-26 23:47:26 +01:00
committed by GitHub

View File

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