Skip to content

Commit

Permalink
Merge pull request #1277 from MuhammedAlkhudiry/ignore-handler-in-lar…
Browse files Browse the repository at this point in the history
…avel-preset

ignore App\Exceptions\Handler.php in arch laravel preset
  • Loading branch information
nunomaduro authored Sep 26, 2024
2 parents 4e2987d + 87f4e5e commit 2744da4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ArchPresets/Laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public function execute(): void

$this->expectations[] = expect('App\Exceptions')
->classes()
->toImplement('Throwable');
->toImplement('Throwable')
->ignoring('App\Exceptions\Handler');

$this->expectations[] = expect('App')
->not->toImplement(Throwable::class)
Expand Down

0 comments on commit 2744da4

Please sign in to comment.