Skip to content

Commit

Permalink
ignore App\Exceptions\Handler.php in arch laravel preset
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammedAlkhudiry authored Sep 26, 2024
1 parent 4e2987d commit bb3decf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ArchPresets/Laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,16 @@ public function execute(): void
->ignoring('App\Enums\Concerns');

$this->expectations[] = expect('App\Features')
->toBeClasses()
->toBeClasses()->
->ignoring('App\Features\Concerns');

$this->expectations[] = expect('App\Features')
->toHaveMethod('resolve');

$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 bb3decf

Please sign in to comment.