From 557c6fdadad6f59f25de6d74ee37f0a828857026 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 3 Mar 2025 11:40:44 +0100 Subject: [PATCH] Fix Doctrine ORM deprecations This enables the new behaviors of the ORM to avoid getting deprecation warnings. --- config/packages/doctrine.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 893350e..1496587 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -8,6 +8,8 @@ doctrine: orm: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware + report_fields_where_declared: true + enable_lazy_ghost_objects: true auto_mapping: true mappings: App: