diff --git a/src/ArchPresets/Laravel.php b/src/ArchPresets/Laravel.php index 7d094c36..85f72b5d 100644 --- a/src/ArchPresets/Laravel.php +++ b/src/ArchPresets/Laravel.php @@ -69,6 +69,7 @@ public function execute(): void ->toHaveSuffix('Request'); $this->expectations[] = expect('App\Http\Requests') + ->classes() ->toExtend('Illuminate\Foundation\Http\FormRequest'); $this->expectations[] = expect('App\Http\Requests') @@ -118,6 +119,7 @@ public function execute(): void ->toHaveMethod('handle'); $this->expectations[] = expect('App\Notifications') + ->classes() ->toExtend('Illuminate\Notifications\Notification'); $this->expectations[] = expect('App') @@ -128,6 +130,7 @@ public function execute(): void ->toHaveSuffix('ServiceProvider'); $this->expectations[] = expect('App\Providers') + ->classes() ->toExtend('Illuminate\Support\ServiceProvider'); $this->expectations[] = expect('App\Providers')