mirror of
https://github.com/symfony/recipes.git
synced 2026-09-15 17:16:24 +03:00
Remove Repository from being ignored
See https://github.com/doctrine/DoctrineBundle/pull/727 But also, this directory was always safe to auto-register. If they cannot be autowired, unless you try to *use* them as services, they will be discarded without showing the autowiring failure.
This commit is contained in:
@@ -19,7 +19,7 @@ services:
|
|||||||
resource: '../src/*'
|
resource: '../src/*'
|
||||||
# you can exclude directories or files
|
# you can exclude directories or files
|
||||||
# but if a service is unused, it's removed anyway
|
# but if a service is unused, it's removed anyway
|
||||||
exclude: '../src/{Entity,Migrations,Repository,Tests}'
|
exclude: '../src/{Entity,Migrations,Tests}'
|
||||||
|
|
||||||
# controllers are imported separately to make sure they
|
# controllers are imported separately to make sure they
|
||||||
# have the tag that allows actions to type-hint services
|
# have the tag that allows actions to type-hint services
|
||||||
|
|||||||
Reference in New Issue
Block a user