The code found here:
https://github.com/php-coveralls/php-coveralls#phpunit
<?xml version="1.0" encoding="UTF-8"?>
<phpunit ...>
<logging>
...
<log type="coverage-clover" target="build/logs/clover.xml"/>
...
</logging>
</phpunit>
The above code is out of date!
PHPunit says the following:
Using <logging><log type="coverage-clover" target="build/logs/clover.xml"/></logging> to configure the Clover XML code coverage report is now deprecated, please use <coverage><report><clover outputFile="build/logs/clover.xml"/></report></coverage> instead.
Please update the readme.
Link:
https://github.com/sebastianbergmann/phpunit/blob/9.3.0/ChangeLog-9.3.md#configuration-of-code-coverage-and-logging-in-phpunitxml
The code found here:
https://github.com/php-coveralls/php-coveralls#phpunit
The above code is out of date!
PHPunit says the following:
Using
<logging><log type="coverage-clover" target="build/logs/clover.xml"/></logging>to configure the Clover XML code coverage report is now deprecated, please use<coverage><report><clover outputFile="build/logs/clover.xml"/></report></coverage>instead.Please update the readme.
Link:
https://github.com/sebastianbergmann/phpunit/blob/9.3.0/ChangeLog-9.3.md#configuration-of-code-coverage-and-logging-in-phpunitxml