Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 22, 2024
1 parent eb9bde0 commit 692bad3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/error-handling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ called from test code. It ignores issues triggered by PHPUnit's own code as well

.. admonition:: Other error handlers

When PHPUnit's test runner becomes aware (after it called ``set_error_handler()`` to register its error handler)
that another error handler was registered then it immediately unregisters its error handler so that the
previously registered error handler remains active.
By default, PHPUnit's test runner overwrites any error handler that was registered using ``set_error_handler()`` in a
test suite's bootstrap script, for instance.

The error handler emits events that are, for instance, subscribed to and used by the default progress and result printers
as well as loggers.
Expand Down

0 comments on commit 692bad3

Please sign in to comment.