We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8324ad commit 5238fffCopy full SHA for 5238fff
components/phpunit_bridge.rst
@@ -165,6 +165,9 @@ Deprecation notices can be triggered by using::
165
166
@trigger_error('Your deprecation message', E_USER_DEPRECATED);
167
168
+You can also require the ``symfony/deprecation-contracts`` package that provides
169
+a global ``trigger_deprecation()`` function for this usage.
170
+
171
Without the `@-silencing operator`_, users would need to opt-out from deprecation
172
notices. Silencing by default swaps this behavior and allows users to opt-in
173
when they are ready to cope with them (by adding a custom error handler like the
0 commit comments