From 252eb491c8a2438f5750b0dccef0b0f4fbcc0aff Mon Sep 17 00:00:00 2001 From: Jesse Rushlow Date: Thu, 11 Apr 2024 09:55:09 -0400 Subject: [PATCH] [ci] handle ci deprecations for test config --- tests/ResetPasswordTestKernel.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/ResetPasswordTestKernel.php b/tests/ResetPasswordTestKernel.php index 3d317f2..601dbe0 100644 --- a/tests/ResetPasswordTestKernel.php +++ b/tests/ResetPasswordTestKernel.php @@ -87,6 +87,8 @@ public function registerContainerConfiguration(LoaderInterface $loader): void ], 'orm' => [ 'auto_generate_proxy_classes' => true, + 'controller_resolver' => ['auto_mapping' => false], // @see https://github.com/doctrine/DoctrineBundle/pull/1762 + 'enable_lazy_ghost_objects' => true, // @see https://github.com/doctrine/DoctrineBundle/pull/1733 'auto_mapping' => true, 'mappings' => [ 'App' => [ @@ -97,6 +99,7 @@ public function registerContainerConfiguration(LoaderInterface $loader): void 'alias' => 'App', ], ], + 'report_fields_where_declared' => true, // @see https://github.com/doctrine/DoctrineBundle/pull/1661 ], ]);