Skip to content

Commit

Permalink
[DOCS] Document new errorHandlerIgnoreSuppressed* options
Browse files Browse the repository at this point in the history
This change adds the documentation for the recently added
configuration options:

* errorHandlerIgnoreSuppressedPhpDeprecations
* errorHandlerIgnoreSuppressedPhpNotices
* errorHandlerIgnoreSuppressedPhpWarnings
* errorHandlerIgnoreSuppressedUserDeprecations
* errorHandlerIgnoreSuppressedUserNotices
* errorHandlerIgnoreSuppressedUserWarnings

Related change sebastianbergmann/phpunit#5303
  • Loading branch information
sbuerk committed Apr 9, 2023
1 parent f777577 commit 8e471f3
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions src/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,60 @@ Possible values: ``true`` or ``false`` (default: ``false``)

This attribute configures whether details on tests that triggered warnings should be printed.

.. _appendixes.configuration.phpunit.errorHandlerIgnoreSuppressedPhpDeprecations:

The ``errorHandlerIgnoreSuppressedPhpDeprecations`` Attribute
-------------------------------------------------------------

Possible values: ``true`` or ``false`` (default: ``true``)

This attribute configures whether php deprecations (E_DEPRECATED) could be suppressed or not.

.. _appendixes.configuration.phpunit.errorHandlerIgnoreSuppressedPhpNotices:

The ``errorHandlerIgnoreSuppressedPhpNotices`` Attribute
--------------------------------------------------------

Possible values: ``true`` or ``false`` (default: ``true``)

This attribute configures whether php notices (E_NOTICE,E_STRICT) could be suppressed or not.

.. _appendixes.configuration.phpunit.errorHandlerIgnoreSuppressedPhpWarnings:

The ``errorHandlerIgnoreSuppressedPhpWarnings`` Attribute
---------------------------------------------------------

Possible values: ``true`` or ``false`` (default: ``true``)

This attribute configures whether php warnings (E_WARNING) could be suppressed or not.

.. _appendixes.configuration.phpunit.errorHandlerIgnoreSuppressedUserDeprecations:

The ``errorHandlerIgnoreSuppressedUserDeprecations`` Attribute
--------------------------------------------------------------

Possible values: ``true`` or ``false`` (default: ``false``)

This attribute configures whether user deprecations (E_USER_DEPRECATED) could be suppressed or not.

.. _appendixes.configuration.phpunit.errorHandlerIgnoreSuppressedUserNotices:

The ``errorHandlerIgnoreSuppressedUserNotices`` Attribute
---------------------------------------------------------

Possible values: ``true`` or ``false`` (default: ``false``)

This attribute configures whether user notices (E_USER_NOTICE) could be suppressed or not.

.. _appendixes.configuration.phpunit.errorHandlerIgnoreSuppressedUserWarnings:

The ``errorHandlerIgnoreSuppressedUserWarnings`` Attribute
----------------------------------------------------------

Possible values: ``true`` or ``false`` (default: ``false``)

This attribute configures whether user warnings (E_USER_WARNING) could be suppressed or not.

.. _appendixes.configuration.testsuites:

The ``<testsuites>`` Element
Expand Down

0 comments on commit 8e471f3

Please sign in to comment.