From 25e1dc9e5e4b0ddbc4a27c4dd131ea203149a79e Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sun, 19 Nov 2017 11:42:42 +0100 Subject: [PATCH] Exclude DataFixtures/ from the autowired services --- symfony/framework-bundle/3.3/config/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/3.3/config/services.yaml b/symfony/framework-bundle/3.3/config/services.yaml index 6849e136..77e8d51f 100644 --- a/symfony/framework-bundle/3.3/config/services.yaml +++ b/symfony/framework-bundle/3.3/config/services.yaml @@ -19,7 +19,7 @@ services: resource: '../src/*' # you can exclude directories or files # but if a service is unused, it's removed anyway - exclude: '../src/{Entity,Migrations,Tests}' + exclude: '../src/{DataFixtures,Entity,Migrations,Tests}' # controllers are imported separately to make sure they # have the tag that allows actions to type-hint services