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
With the `--only-percentage` enabled, the CLI command will only return the resulting coverage percentage.
30
30
31
-
It's also possible to add the coverage report generation to the phpunit.xml.dist add to following line to the xml file:
31
+
It's also possible to add the coverage report generation to the `phpunit.xml.dist` add to following lines to the xml file inside the `<coverage>` tag:
32
32
33
33
```xml
34
-
<logging>
35
-
<logtype="coverage-clover"target="clover.xml"/>
36
-
</logging>
34
+
<report>
35
+
<cloveroutputFile="clover.xml"/>
36
+
</report>
37
37
```
38
38
39
-
For more information see the [phpunit documentation](https://phpunit.de/manual/5.3/en/index.html).
40
-
Information about the [configuration file](https://phpunit.de/manual/5.3/en/appendixes.configuration.html#appendixes.configuration) and [commandline options](https://phpunit.de/manual/current/en/textui.html#textui.clioptions).
39
+
For more information see the [phpunit documentation](https://phpunit.readthedocs.io/en/9.5/).
40
+
Information about the [configuration file](https://phpunit.readthedocs.io/en/9.5/configuration.html) and [commandline options](https://phpunit.readthedocs.io/en/9.5/textui.html#command-line-options).
0 commit comments