Skip to content

Commit fb91a8e

Browse files
Merge branch '10.5' into 11.0
2 parents ffaf6c4 + b0474ee commit fb91a8e

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/attributes.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff 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
193208
a test method.
194209

195210
.. admonition:: Warning

0 commit comments

Comments
 (0)