From 8c45a40f9e798ca72afb6027c9418a5711d1ec6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Wed, 19 Jun 2024 23:47:38 +0200 Subject: [PATCH] Explicitly configure some deprecated configuration options --- config/packages/api_platform.yaml | 3 ++- config/packages/doctrine.yaml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/packages/api_platform.yaml b/config/packages/api_platform.yaml index e5e6df3a..b32ddac7 100644 --- a/config/packages/api_platform.yaml +++ b/config/packages/api_platform.yaml @@ -33,4 +33,5 @@ api_platform: pagination_client_items_per_page: true # Allow clients to override the default items per page keep_legacy_inflector: false - event_listeners_backward_compatibility_layer: false \ No newline at end of file + # Need to be true, or some tests will fail + use_symfony_listeners: true \ No newline at end of file diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 07042a49..cea0126a 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -33,6 +33,8 @@ doctrine: validate_xml_mapping: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware auto_mapping: true + controller_resolver: + auto_mapping: true mappings: App: type: attribute