File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,21 @@ expectations on mock objects as :ref:`risky <risky-tests.useless-tests>`. The
178178``DoesNotPerformAssertions `` attribute can be used to prevent this.
179179
180180
181+ .. _appendixes.attributes.IgnoreDeprecations :
182+
183+ ``IgnoreDeprecations ``
184+ ======================
185+
186+ +-------------+--------------+------------+
187+ | Class Level | Method Level | Repeatable |
188+ +=============+==============+============+
189+ | yes | yes | no |
190+ +-------------+--------------+------------+
191+
192+ The ``IgnoreDeprecations `` attribute can be used to configure PHPUnit's error handler to
193+ not emit events for ``E_DEPRECATED `` and ``E_USER_DEPRECATED `` errors.
194+
195+
181196.. _appendixes.attributes.WithoutErrorHandler :
182197
183198``WithoutErrorHandler ``
@@ -189,7 +204,7 @@ expectations on mock objects as :ref:`risky <risky-tests.useless-tests>`. The
189204| no | yes | no |
190205+-------------+--------------+------------+
191206
192- The ``WithoutErrorHandler `` can be used to disable PHPUnit's error handler for
207+ The ``WithoutErrorHandler `` attribute can be used to disable PHPUnit's error handler for
193208a test method.
194209
195210.. admonition :: Warning
You can’t perform that action at this time.
0 commit comments