Skip to content

Commit 7cd0a6d

Browse files
Fix labels
1 parent f3ef05f commit 7cd0a6d

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

src/code-coverage-analysis.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ processing.
3838

3939
Please refer to :ref:`textui` for a list of command line switches
4040
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
4242
configuration settings.
4343

4444
.. _code-coverage-analysis.metrics:
@@ -115,7 +115,7 @@ It is mandatory to configure a *whitelist* for telling
115115
PHPUnit which sourcecode files to include in the code coverage report.
116116
This can either be done using the ``--whitelist``
117117
: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`).
119119

120120
The ``addUncoveredFilesFromWhitelist`` and ``processUncoveredFilesFromWhitelist`` configuration settings are available to configure how the whitelist is used:
121121

src/configuration.rst

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ Possible values: ``true`` or ``false`` (default: ``false``)
461461

462462
This attribute configures whether progress should be animated when TestDox format is used, for instance.
463463

464-
.. _appendixes.configuration.phpunit.testsuites:
464+
.. _appendixes.configuration.testsuites:
465465

466466
The ``<testsuites>`` Element
467467
############################
@@ -470,7 +470,7 @@ Parent element: ``<phpunit>``
470470

471471
This element is the root for one or more ``<testsuite>`` elements that are used to configure the tests that are to be executed.
472472

473-
.. _appendixes.configuration.phpunit.testsuites.testsuite:
473+
.. _appendixes.configuration.testsuites.testsuite:
474474

475475
The ``<testsuite>`` Element
476476
---------------------------
@@ -507,7 +507,7 @@ Using the ``phpVersion`` and ``phpVersionOperator`` attributes, a required PHP v
507507
508508
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 ``>=``.
509509

510-
.. _appendixes.configuration.phpunit.groups:
510+
.. _appendixes.configuration.groups:
511511

512512
The ``<groups>`` Element
513513
########################
@@ -529,7 +529,7 @@ The ``<groups>`` element and its ``<include>``, ``<exclude>``, and ``<group>`` c
529529
530530
The example shown above is equivalent to invoking the PHPUnit test runner with ``--group name --exclude-group name``.
531531

532-
.. _appendixes.configuration.phpunit.testdoxGroups:
532+
.. _appendixes.configuration.testdoxGroups:
533533

534534
The ``<testdoxGroups>`` Element
535535
###############################
@@ -538,7 +538,7 @@ Parent element: ``<phpunit>``
538538

539539
... TBD ...
540540

541-
.. _appendixes.configuration.phpunit.filter:
541+
.. _appendixes.configuration.filter:
542542

543543
The ``<filter>`` Element
544544
########################
@@ -558,7 +558,7 @@ The ``<filter/whitelist>`` element and its children can be used to configure the
558558
</whitelist>
559559
</filter>
560560
561-
.. _appendixes.configuration.phpunit.listeners:
561+
.. _appendixes.configuration.listeners:
562562

563563
The ``<listeners>`` Element
564564
###########################
@@ -567,7 +567,7 @@ Parent element: ``<phpunit>``
567567

568568
The ``<listeners>`` element and its ``<listener>`` children can be used to attach additional test listeners to the test execution.
569569

570-
.. _appendixes.configuration.phpunit.listeners.listener:
570+
.. _appendixes.configuration.listeners.listener:
571571

572572
The ``<listener>`` Element
573573
--------------------------
@@ -613,7 +613,7 @@ The XML configuration above corresponds to attaching the
613613
deprecated and will be removed in the future. TestRunner extensions
614614
should be used instead of test listeners.
615615

616-
.. _appendixes.configuration.phpunit.extensions:
616+
.. _appendixes.configuration.extensions:
617617

618618
The ``<extensions>`` Element
619619
############################
@@ -622,7 +622,7 @@ Parent element: ``<phpunit>``
622622

623623
The ``<extensions>`` element and its ``<extension>`` children can be used to register test runner extensions.
624624

625-
.. _appendixes.configuration.phpunit.extensions.extension:
625+
.. _appendixes.configuration.extensions.extension:
626626

627627
The ``<extension>`` Element
628628
---------------------------
@@ -635,7 +635,7 @@ Parent element: ``<extensions>``
635635
<extension class="Vendor\MyExtension"/>
636636
</extensions>
637637
638-
.. _appendixes.configuration.phpunit.extensions.extension.arguments:
638+
.. _appendixes.configuration.extensions.extension.arguments:
639639

640640
The ``<arguments>`` Element
641641
~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -682,7 +682,7 @@ Available types:
682682
</arguments>
683683
</extension>
684684
685-
.. _appendixes.configuration.phpunit.logging:
685+
.. _appendixes.configuration.logging:
686686

687687
The ``<logging>`` Element
688688
#########################
@@ -691,7 +691,7 @@ Parent element: ``<phpunit>``
691691

692692
The ``<logging>`` element and its ``<log>`` children can be used to configure the logging of the test execution.
693693

694-
.. _appendixes.configuration.phpunit.logging.log:
694+
.. _appendixes.configuration.logging.log:
695695

696696
The ``<log>`` Element
697697
---------------------
@@ -762,7 +762,7 @@ The ``lowUpperBound``, ``highLowerBound``, and ``showUncoveredFiles`` attributes
762762

763763
``showOnlySummary``: Show only the summary in ``--coverage-text`` output.
764764

765-
.. _appendixes.configuration.phpunit.php:
765+
.. _appendixes.configuration.php:
766766

767767
The ``<php>`` Element
768768
#####################
@@ -771,7 +771,7 @@ Parent element: ``<phpunit>``
771771

772772
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``.
773773

774-
.. _appendixes.configuration.phpunit.php.includePath:
774+
.. _appendixes.configuration.php.includePath:
775775

776776
The ``<includePath>`` Element
777777
-----------------------------
@@ -780,7 +780,7 @@ Parent element: ``<php>``
780780

781781
This element can be used to prepend a path to the ``include_path``.
782782

783-
.. _appendixes.configuration.phpunit.php.ini:
783+
.. _appendixes.configuration.php.ini:
784784

785785
The ``<ini>`` Element
786786
---------------------
@@ -801,7 +801,7 @@ The XML configuration above corresponds to the following PHP code:
801801
802802
ini_set('foo', 'bar');
803803
804-
.. _appendixes.configuration.phpunit.php.const:
804+
.. _appendixes.configuration.php.const:
805805

806806
The ``<const>`` Element
807807
-----------------------
@@ -822,7 +822,7 @@ The XML configuration above corresponds to the following PHP code:
822822
823823
define('foo', 'bar');
824824
825-
.. _appendixes.configuration.phpunit.php.var:
825+
.. _appendixes.configuration.php.var:
826826

827827
The ``<var>`` Element
828828
---------------------
@@ -843,7 +843,7 @@ The XML configuration above corresponds to the following PHP code:
843843
844844
$GLOBALS['foo'] = 'bar';
845845
846-
.. _appendixes.configuration.phpunit.php.env:
846+
.. _appendixes.configuration.php.env:
847847

848848
The ``<env>`` Element
849849
---------------------
@@ -873,7 +873,7 @@ To force overwriting existing variables, use the ``force`` attribute:
873873
<env name="foo" value="bar" force="true"/>
874874
</php>
875875
876-
.. _appendixes.configuration.phpunit.php.get:
876+
.. _appendixes.configuration.php.get:
877877

878878
The ``<get>`` Element
879879
---------------------
@@ -894,7 +894,7 @@ The XML configuration above corresponds to the following PHP code:
894894
895895
$_GET['foo'] = 'bar';
896896
897-
.. _appendixes.configuration.phpunit.php.post:
897+
.. _appendixes.configuration.php.post:
898898

899899
The ``<post>`` Element
900900
----------------------
@@ -915,7 +915,7 @@ The XML configuration above corresponds to the following PHP code:
915915
916916
$_POST['foo'] = 'bar';
917917
918-
.. _appendixes.configuration.phpunit.php.cookie:
918+
.. _appendixes.configuration.php.cookie:
919919

920920
The ``<cookie>`` Element
921921
------------------------
@@ -936,7 +936,7 @@ The XML configuration above corresponds to the following PHP code:
936936
937937
$_COOKIE['foo'] = 'bar';
938938
939-
.. _appendixes.configuration.phpunit.php.server:
939+
.. _appendixes.configuration.php.server:
940940

941941
The ``<server>`` Element
942942
------------------------
@@ -957,7 +957,7 @@ The XML configuration above corresponds to the following PHP code:
957957
958958
$_SERVER['foo'] = 'bar';
959959
960-
.. _appendixes.configuration.phpunit.php.files:
960+
.. _appendixes.configuration.php.files:
961961

962962
The ``<files>`` Element
963963
-----------------------
@@ -978,7 +978,7 @@ The XML configuration above corresponds to the following PHP code:
978978
979979
$_FILES['foo'] = 'bar';
980980
981-
.. _appendixes.configuration.phpunit.php.request:
981+
.. _appendixes.configuration.php.request:
982982

983983
The ``<request>`` Element
984984
-------------------------

src/extending-phpunit.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ one or more of the following interfaces:
144144
Each "hook", meaning each of the interfaces listed above, represents an event
145145
that can occur while the tests are being executed.
146146

147-
See :ref:`appendixes.configuration.phpunit.extensions` for details on how
147+
See :ref:`appendixes.configuration.extensions` for details on how
148148
to register extensions in PHPUnit's XML configuration.
149149

150150
:numref:`extending-phpunit.examples.TestRunnerExtension` shows an example
@@ -239,7 +239,7 @@ shown in
239239
</extension>
240240
</extensions>
241241
242-
See :ref:`appendixes.configuration.phpunit.extensions.extension.arguments` for
242+
See :ref:`appendixes.configuration.extensions.extension.arguments` for
243243
details on how to use the ``arguments`` configuration.
244244

245245
Remember: all configuration is optional, so make sure your extension either has

src/incomplete-and-skipped-tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,6 @@ The following operators are supported for PHP, PHPUnit, and extension version co
253253
?>
254254
255255
If you are using syntax that doesn't compile with a certain PHP Version look into the xml
256-
configuration for version dependent includes in :ref:`appendixes.configuration.phpunit.testsuites`
256+
configuration for version dependent includes in :ref:`appendixes.configuration.testsuites`
257257

258258

src/logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ this will honor the ``--colors`` setting.
151151
Writing to standard out is the default option when used from the command-line.
152152
By default this will only show files that have at least one covered line.
153153
This can only be changed via the ``showUncoveredFiles`` xml
154-
configuration option. See :ref:`appendixes.configuration.phpunit.logging`.
154+
configuration option. See :ref:`appendixes.configuration.logging`.
155155
By default all files and their coverage status are shown in the detailed report.
156156
This can be changed via the ``showOnlySummary`` xml
157157
configuration option.

0 commit comments

Comments
 (0)