You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/code-coverage-analysis.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ processing.
38
38
39
39
Please refer to :ref:`textui` for a list of command line switches
40
40
that control code coverage functionality as well as
41
-
:ref:`appendixes.configuration.phpunit.logging` for the relevant
41
+
:ref:`appendixes.configuration.logging` for the relevant
42
42
configuration settings.
43
43
44
44
.. _code-coverage-analysis.metrics:
@@ -115,7 +115,7 @@ It is mandatory to configure a *whitelist* for telling
115
115
PHPUnit which sourcecode files to include in the code coverage report.
116
116
This can either be done using the ``--whitelist``
117
117
:ref:`command line <textui.clioptions>` option or via the
118
-
configuration file (see :ref:`appendixes.configuration.phpunit.filter`).
118
+
configuration file (see :ref:`appendixes.configuration.filter`).
119
119
120
120
The ``addUncoveredFilesFromWhitelist`` and ``processUncoveredFilesFromWhitelist`` configuration settings are available to configure how the whitelist is used:
@@ -507,7 +507,7 @@ Using the ``phpVersion`` and ``phpVersionOperator`` attributes, a required PHP v
507
507
508
508
In the example above, the tests from the ``tests/unit`` directory are only added to the test suite if the PHP version is at least 8.0.0. The ``phpVersionOperator`` attribute is optional and defaults to ``>=``.
509
509
510
-
.. _appendixes.configuration.phpunit.groups:
510
+
.. _appendixes.configuration.groups:
511
511
512
512
The ``<groups>`` Element
513
513
########################
@@ -529,7 +529,7 @@ The ``<groups>`` element and its ``<include>``, ``<exclude>``, and ``<group>`` c
529
529
530
530
The example shown above is equivalent to invoking the PHPUnit test runner with ``--group name --exclude-group name``.
The ``<logging>`` element and its ``<log>`` children can be used to configure the logging of the test execution.
693
693
694
-
.. _appendixes.configuration.phpunit.logging.log:
694
+
.. _appendixes.configuration.logging.log:
695
695
696
696
The ``<log>`` Element
697
697
---------------------
@@ -762,7 +762,7 @@ The ``lowUpperBound``, ``highLowerBound``, and ``showUncoveredFiles`` attributes
762
762
763
763
``showOnlySummary``: Show only the summary in ``--coverage-text`` output.
764
764
765
-
.. _appendixes.configuration.phpunit.php:
765
+
.. _appendixes.configuration.php:
766
766
767
767
The ``<php>`` Element
768
768
#####################
@@ -771,7 +771,7 @@ Parent element: ``<phpunit>``
771
771
772
772
The ``<php>`` element and its children can be used to configure PHP settings, constants, and global variables. It can also be used to prepend the ``include_path``.
0 commit comments