Skip to content

Commit a2fe792

Browse files
authored
Update PHPUnit config info
Just needed a few updates. Thanks for putting this package together!
1 parent a0b496e commit a2fe792

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ vendor/bin/coverage-check clover.xml 80 --only-percentage
2828

2929
With the `--only-percentage` enabled, the CLI command will only return the resulting coverage percentage.
3030

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:
3232

3333
```xml
34-
<logging>
35-
<log type="coverage-clover" target="clover.xml"/>
36-
</logging>
34+
<report>
35+
<clover outputFile="clover.xml" />
36+
</report>
3737
```
3838

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

Comments
 (0)