File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -87,16 +87,19 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
87
87
],
88
88
'orm ' => [
89
89
'auto_generate_proxy_classes ' => true ,
90
+ 'controller_resolver ' => ['auto_mapping ' => false ], // @see https://github.com/doctrine/DoctrineBundle/pull/1762
91
+ 'enable_lazy_ghost_objects ' => true , // @see https://github.com/doctrine/DoctrineBundle/pull/1733
90
92
'auto_mapping ' => true ,
91
93
'mappings ' => [
92
94
'App ' => [
93
95
'is_bundle ' => false ,
94
- 'type ' => self :: shouldUseAttributes () ? 'attribute ' : ' annotation ' ,
96
+ 'type ' => 'attribute ' ,
95
97
'dir ' => 'tests/Fixtures/Entity/ ' ,
96
98
'prefix ' => 'SymfonyCasts\Bundle\ResetPassword\Tests\Fixtures\Entity ' ,
97
99
'alias ' => 'App ' ,
98
100
],
99
101
],
102
+ 'report_fields_where_declared ' => true , // @see https://github.com/doctrine/DoctrineBundle/pull/1661
100
103
],
101
104
]);
102
105
@@ -141,9 +144,4 @@ public function getLogDir(): string
141
144
{
142
145
return sys_get_temp_dir ().'/logs ' .spl_object_hash ($ this );
143
146
}
144
-
145
- public static function shouldUseAttributes (): bool
146
- {
147
- return Kernel::VERSION_ID >= 70000 ;
148
- }
149
147
}
You can’t perform that action at this time.
0 commit comments