Skip to content

Commit 25e1dc9

Browse files
committed
Exclude DataFixtures/ from the autowired services
1 parent d5939b6 commit 25e1dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symfony/framework-bundle/3.3/config/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
resource: '../src/*'
2020
# you can exclude directories or files
2121
# but if a service is unused, it's removed anyway
22-
exclude: '../src/{Entity,Migrations,Tests}'
22+
exclude: '../src/{DataFixtures,Entity,Migrations,Tests}'
2323

2424
# controllers are imported separately to make sure they
2525
# have the tag that allows actions to type-hint services

0 commit comments

Comments
 (0)