Skip to content

Commit

Permalink
allow container bindings for http
Browse files Browse the repository at this point in the history
  • Loading branch information
ol1s committed Dec 24, 2024
1 parent bf31784 commit 148c83e
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 @@ -149,7 +149,8 @@ public function execute(): void
->toHaveSuffix('Controller');

$this->expectations[] = expect('App\Http')
->toOnlyBeUsedIn('App\Http');
->toOnlyBeUsedIn('App\Http')
->ignoring('App\Providers');

$this->expectations[] = expect('App\Http\Controllers')
->not->toHavePublicMethodsBesides(['__construct', '__invoke', 'index', 'show', 'create', 'store', 'edit', 'update', 'destroy', 'middleware']);
Expand Down

0 comments on commit 148c83e

Please sign in to comment.