Exclude DataFixtures/ from the autowired services

This commit is contained in:
Javier Eguiluz
2017-11-19 11:42:42 +01:00
parent d5939b6e96
commit 25e1dc9e5e
@@ -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