Skip to content

Commit ca14aad

Browse files
authored
Remove Repository from being ignored
See doctrine/DoctrineBundle#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.
1 parent 67ddc64 commit ca14aad

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,Repository,Tests}'
22+
exclude: '../src/{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)