Skip to content

Commit

Permalink
Merge pull request #1275 from jeremynikolic/laravel-presets-ignore-co…
Browse files Browse the repository at this point in the history
…ncerns

feat: add ignoring of Concerns folder inside App\Enums and App\Features
  • Loading branch information
nunomaduro authored Sep 25, 2024
2 parents 989e43d + 49e77b1 commit a25158b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ArchPresets/Laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ public function execute(): void
->ignoring('App\Enums');

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

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

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

0 comments on commit a25158b

Please sign in to comment.