File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/Symfony/Bundle/DependencyInjection
tests/Symfony/Bundle/DependencyInjection Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ public function getConfigTreeBuilder(): TreeBuilder
129
129
->addDefaultsIfNotSet ()
130
130
->children ()
131
131
->arrayNode ('paths ' )
132
+ ->defaultValue (['%kernel.project_dir%/src/ApiResource ' , '%kernel.project_dir%/src/Entity ' ])
132
133
->prototype ('scalar ' )->end ()
133
134
->end ()
134
135
->end ()
Original file line number Diff line number Diff line change @@ -167,7 +167,10 @@ private function runDefaultConfigTests(array $doctrineIntegrationsToLoad = ['orm
167
167
],
168
168
],
169
169
'mapping ' => [
170
- 'paths ' => [],
170
+ 'paths ' => [
171
+ '%kernel.project_dir%/src/ApiResource ' ,
172
+ '%kernel.project_dir%/src/Entity ' ,
173
+ ],
171
174
],
172
175
'http_cache ' => [
173
176
'invalidation ' => [
You can’t perform that action at this time.
0 commit comments