Skip to content

Commit

Permalink
Merge branch '11.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed May 11, 2024
2 parents 308ef36 + af94839 commit b54bdae
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions src/attributes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -312,45 +312,6 @@ The ``UsesFunction(string $functionName)`` attribute can be used to :ref:`specif
that a test allows the execution of code in the given global function, but does not intend to cover it. This is relevant
in the context of :ref:`preventing unintentionally covered code <risky-tests.unintentionally-covered-code>`.

.. _appendixes.attributes.IgnoreClassForCodeCoverage:

``IgnoreClassForCodeCoverage``
------------------------------

+-----------+-------------+--------------+------------+
| Context | Class Level | Method Level | Repeatable |
+===========+=============+==============+============+
| Test Code | yes | no | yes |
+-----------+-------------+--------------+------------+

As of PHPUnit 10.4, the ``CodeCoverageIgnore`` attribute is deprecated.

.. _appendixes.attributes.IgnoreMethodForCodeCoverage:

``IgnoreMethodForCodeCoverage``
-------------------------------

+-----------+-------------+--------------+------------+
| Context | Class Level | Method Level | Repeatable |
+===========+=============+==============+============+
| Test Code | yes | no | yes |
+-----------+-------------+--------------+------------+

As of PHPUnit 10.4, the ``CodeCoverageIgnore`` attribute is deprecated.

.. _appendixes.attributes.IgnoreFunctionForCodeCoverage:

``IgnoreFunctionForCodeCoverage``
---------------------------------

+-----------+-------------+--------------+------------+
| Context | Class Level | Method Level | Repeatable |
+===========+=============+==============+============+
| Test Code | yes | no | yes |
+-----------+-------------+--------------+------------+

As of PHPUnit 10.4, the ``CodeCoverageIgnore`` attribute is deprecated.

.. _appendixes.attributes.CodeCoverageIgnore:

``CodeCoverageIgnore``
Expand Down

0 comments on commit b54bdae

Please sign in to comment.