Skip to content

Commit 92227c8

Browse files
committed
[Tests] Configure doctrine.orm.enable_native_lazy_objects to fix deprecation in PHP 8.4+
Fix https://github.com/symfony/ux/actions/runs/15787680645/job/44507502967?pr=2712
1 parent 7cb2a5b commit 92227c8

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/Autocomplete/tests/Fixtures/Kernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ protected function configureContainer(ContainerConfigurator $c): void
109109
'orm' => [
110110
'auto_generate_proxy_classes' => true,
111111
'auto_mapping' => true,
112+
'enable_native_lazy_objects' => true,
112113
'mappings' => [
113114
'Test' => [
114115
'is_bundle' => false,

src/LiveComponent/tests/Fixtures/Kernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ protected function configureContainer(ContainerConfigurator $c): void
154154
'orm' => [
155155
'auto_generate_proxy_classes' => true,
156156
'auto_mapping' => true,
157+
'enable_native_lazy_objects' => true,
157158
'mappings' => [
158159
'Default' => [
159160
'is_bundle' => false,

src/Turbo/tests/app/Kernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ protected function configureContainer(ContainerConfigurator $container): void
8585
'orm' => [
8686
'auto_generate_proxy_classes' => true,
8787
'auto_mapping' => true,
88+
'enable_native_lazy_objects' => true,
8889
'mappings' => [
8990
'App' => [
9091
'is_bundle' => false,

0 commit comments

Comments
 (0)