Skip to content

Commit 7cb19e4

Browse files
committed
added a note about profiler matcher deprecation
1 parent 716ad55 commit 7cb19e4

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

profiler/matchers.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
How to Use Matchers to Enable the Profiler Conditionally
55
========================================================
66

7+
.. caution::
8+
9+
The possibility to use a matcher to enable the profiler conditionally is
10+
deprecated since Symfony 3.4 and will be removed in 4.0.
11+
712
The Symfony profiler is only activated in the development environment to not hurt
813
your application performance. However, sometimes it may be useful to conditionally
914
enable the profiler in the production environment to assist you in debugging

reference/configuration/framework.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,10 @@ The DSN where to store the profiling information.
571571
matcher
572572
.......
573573

574+
.. caution::
575+
576+
This option is deprecated since Symfony 3.4 and will be removed in 4.0.
577+
574578
Matcher options are configured to dynamically enable the profiler. For
575579
instance, based on the `ip`_ or :ref:`path <reference-profiler-matcher-path>`.
576580

0 commit comments

Comments
 (0)