Skip to content

Commit d53cc63

Browse files
committed
minor #20850 [FrameworkBundle] Deprecate setting the collect_serializer_data to false (MrYamous)
This PR was merged into the 7.3 branch. Discussion ---------- [FrameworkBundle] Deprecate setting the `collect_serializer_data` to `false` Fixes #20847 Commits ------- 671eba4 [FrameworkBundle] Deprecate setting the collect_serializer_data to false
2 parents e6830ea + 671eba4 commit d53cc63

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

reference/configuration/framework.rst

+7-3
Original file line numberDiff line numberDiff line change
@@ -2352,12 +2352,16 @@ Combine it with the ``collect`` option to enable/disable the profiler on demand:
23522352
collect_serializer_data
23532353
.......................
23542354

2355-
**type**: ``boolean`` **default**: ``false``
2355+
**type**: ``boolean`` **default**: ``true``
23562356

2357-
Set this option to ``true`` to enable the serializer data collector and its
2358-
profiler panel. When this option is ``true``, all normalizers and encoders are
2357+
When this option is ``true``, all normalizers and encoders are
23592358
decorated by traceable implementations that collect profiling information about them.
23602359

2360+
.. deprecated:: 7.3
2361+
2362+
Setting the ``collect_serializer_data`` option to ``false`` is deprecated
2363+
since Symfony 7.3.
2364+
23612365
.. _profiler-dsn:
23622366

23632367
dsn

0 commit comments

Comments
 (0)