Skip to content

Commit

Permalink
Closes #350
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed May 11, 2024
1 parent 649f4f5 commit 5462f08
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 @@ -281,45 +281,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 5462f08

Please sign in to comment.