Skip to content

Commit

Permalink
Merge branch '10.5' into 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed May 11, 2024
2 parents ffaf6c4 + b0474ee commit fb91a8e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/attributes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,21 @@ expectations on mock objects as :ref:`risky <risky-tests.useless-tests>`. The
``DoesNotPerformAssertions`` attribute can be used to prevent this.


.. _appendixes.attributes.IgnoreDeprecations:

``IgnoreDeprecations``
======================

+-------------+--------------+------------+
| Class Level | Method Level | Repeatable |
+=============+==============+============+
| yes | yes | no |
+-------------+--------------+------------+

The ``IgnoreDeprecations`` attribute can be used to configure PHPUnit's error handler to
not emit events for ``E_DEPRECATED`` and ``E_USER_DEPRECATED`` errors.


.. _appendixes.attributes.WithoutErrorHandler:

``WithoutErrorHandler``
Expand All @@ -189,7 +204,7 @@ expectations on mock objects as :ref:`risky <risky-tests.useless-tests>`. The
| no | yes | no |
+-------------+--------------+------------+

The ``WithoutErrorHandler`` can be used to disable PHPUnit's error handler for
The ``WithoutErrorHandler`` attribute can be used to disable PHPUnit's error handler for
a test method.

.. admonition:: Warning
Expand Down

0 comments on commit fb91a8e

Please sign in to comment.