Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4686865

Browse filesBrowse files
committed
feature #6406 Added a note about the new "disabled" option for PHPUnitBridge (javiereguiluz)
This PR was squashed before being merged into the master branch (closes #6406). Discussion ---------- Added a note about the new "disabled" option for PHPUnitBridge This fixes #6386. Commits ------- e924dd8 Added a note about the new "disabled" option for PHPUnitBridge
2 parents d84d9ff + e924dd8 commit 4686865
Copy full SHA for 4686865

File tree

Expand file treeCollapse file tree

1 file changed

+9
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-1
lines changed

‎components/phpunit_bridge.rst

Copy file name to clipboardExpand all lines: components/phpunit_bridge.rst
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ PHPUnit_ will stop your test suite once a deprecation notice is triggered whose
112112
message contains the ``"foobar"`` string.
113113

114114
Making Tests Fail
115-
-----------------
115+
~~~~~~~~~~~~~~~~~
116116

117117
By default, any non-legacy-tagged or any non-`@-silenced`_ deprecation notices
118118
will make tests fail. Alternatively, setting ``SYMFONY_DEPRECATIONS_HELPER`` to
@@ -122,6 +122,14 @@ also set the value ``"weak"`` which will make the bridge ignore any deprecation
122122
notices. This is useful to projects that must use deprecated interfaces for
123123
backward compatibility reasons.
124124

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+
125133
Time-sensitive Tests
126134
--------------------
127135

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.