Skip to content

Commit 4221ead

Browse files
chrisvanpattensebastianbergmann
authored andcommitted
Update uncovered files configuration settings
1 parent dbc7741 commit 4221ead

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/code-coverage-analysis.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,20 @@ This can either be done using the ``--coverage-filter``
100100
:ref:`command line <textui.clioptions>` option or via the
101101
configuration file (see :ref:`appendixes.configuration.coverage.include`).
102102

103-
The ``includeUncoveredFilesInCodeCoverageReport`` and ``processUncoveredFilesForCodeCoverageReport`` configuration settings are available to configure how the filter is used:
103+
The ``includeUncoveredFiles` and ``processUncoveredFiles`` configuration settings are available to configure how the filter is used:
104104

105-
- ``includeUncoveredFilesInCodeCoverageReport="false"`` means that only files that have at least one line of executed code are included in the code coverage report
105+
- ``includeUncoveredFiles="false"`` means that only files that have at least one line of executed code are included in the code coverage report
106106

107-
- ``includeUncoveredFilesInCodeCoverageReport="true"`` (default) means that all files are included in the code coverage report even if not a single line of code of such a file is executed
107+
- ``includeUncoveredFiles="true"`` (default) means that all files are included in the code coverage report even if not a single line of code of such a file is executed
108108

109-
- ``processUncoveredFilesForCodeCoverageReport="false"`` (default) means that a file that has no executed lines of code will be added to the code coverage report (if ``includeUncoveredFilesInCodeCoverageReport="true"`` is set) but it will not be loaded by PHPUnit and it will therefore not be analysed for correct executable lines of code information
109+
- ``processUncoveredFiles="false"`` (default) means that a file that has no executed lines of code will be added to the code coverage report (if ``includeUncoveredFiles="true"`` is set) but it will not be loaded by PHPUnit and it will therefore not be analysed for correct executable lines of code information
110110

111-
- ``processUncoveredFilesForCodeCoverageReport="true"`` means that a file that has no executed lines of code will be loaded by PHPUnit so that it can be analysed for correct executable lines of code information
111+
- ``processUncoveredFiles="true"`` means that a file that has no executed lines of code will be loaded by PHPUnit so that it can be analysed for correct executable lines of code information
112112

113113
.. admonition:: Note
114114

115115
Please note that the loading of sourcecode files that is performed when
116-
``processUncoveredFilesForCodeCoverageReport="true"`` is set can
116+
``processUncoveredFiles="true"`` is set can
117117
cause problems when a sourcecode file contains code outside the scope of
118118
a class or function, for instance.
119119

0 commit comments

Comments
 (0)