File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ PHPUnit_ will stop your test suite once a deprecation notice is triggered whose
112
112
message contains the ``"foobar" `` string.
113
113
114
114
Making Tests Fail
115
- -----------------
115
+ ~~~~~~~~~~~~~~~~~
116
116
117
117
By default, any non-legacy-tagged or any non-`@-silenced `_ deprecation notices will
118
118
make tests fail. Alternatively, setting ``SYMFONY_DEPRECATIONS_HELPER `` to an
@@ -122,6 +122,14 @@ the value ``"weak"`` which will make the bridge ignore any deprecation notices.
122
122
This is useful to projects that must use deprecated interfaces for backward
123
123
compatibility reasons.
124
124
125
+ Disabling the Deprecation Helper
126
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
127
+
128
+ Set the ``SYMFONY_DEPRECATIONS_HELPER `` environment variable to ``disabled `` to
129
+ completely disable the deprecation helper. This is useful to make use of the
130
+ rest of features provided by this component without getting errors or messages
131
+ related to deprecations.
132
+
125
133
Time-sensitive Tests
126
134
--------------------
127
135
You can’t perform that action at this time.
0 commit comments