Skip to content

Commit

Permalink
Closes #333
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed May 11, 2024
1 parent 894b9dc commit b0474ee
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions 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``
======================

+------------+-------------+--------------+------------+
| Context | Class Level | Method Level | Repeatable |
+============+=============+==============+============+
| Test Code | 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 Down

0 comments on commit b0474ee

Please sign in to comment.