Skip to content

Commit

Permalink
Remove unneed excludes from services autowiring (#1040)
Browse files Browse the repository at this point in the history
As migrations went up to `migrations` folder and tests were never meant
to be in src folder, let's remove them from exclude clause as well
  • Loading branch information
GSadee authored Oct 23, 2024
2 parents ac33643 + b9f0504 commit b9e46b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../src/*'
exclude: '../src/{Entity,Migrations,Tests,Kernel.php}'
exclude: '../src/{Entity,Kernel.php}'

# Controllers are imported separately to make sure services can be injected
# as action arguments even if you don't extend any base controller class
Expand Down

0 comments on commit b9e46b9

Please sign in to comment.