feat: upgrade to symfony 7.4

This commit is contained in:
2026-09-01 11:24:44 +02:00
parent 8ed20db90c
commit 2459af122f
41 changed files with 1527 additions and 1219 deletions
+7
View File
@@ -8,6 +8,13 @@ doctrine:
#server_version: '15'
orm:
auto_generate_proxy_classes: true
# Keep implicit controller-argument entity resolution on (many actions type-hint
# an entity against a matching {id}/{uuid} route param without #[MapEntity]).
# Setting this explicitly silences the "default will flip to false" deprecation;
# the separate "automapping is deprecated" notice stays until those actions are
# migrated to #[MapEntity], which is its own task.
controller_resolver:
auto_mapping: true
enable_lazy_ghost_objects: true
report_fields_where_declared: true
validate_xml_mapping: true
+5
View File
@@ -0,0 +1,5 @@
framework:
property_info:
# Keep the current (7.x) default; enabling the constructor extractor is a
# behaviour change to evaluate on its own, not part of the 6.4 -> 7.4 bump.
with_constructor_extractor: false
+1 -1
View File
@@ -1,4 +1,4 @@
when@dev:
_errors:
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
resource: '@FrameworkBundle/Resources/config/routing/errors.php'
prefix: /_error
+2 -2
View File
@@ -1,8 +1,8 @@
when@dev:
web_profiler_wdt:
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
resource: '@WebProfilerBundle/Resources/config/routing/wdt.php'
prefix: /_wdt
web_profiler_profiler:
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
resource: '@WebProfilerBundle/Resources/config/routing/profiler.php'
prefix: /_profiler