I'm relearning PHPUnit, and I found the code-coverage command ./vendor/bin/phpunit --coverage-html coverage. When I do it, I get the No whitelist configured error, which I'm led to believe is also the error you get when your whitelist isn't setup properly, but I'm not sure what's wrong.
<phpunit colors="true" bootstrap="tests/bootstrap.php">
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">/src/*</directory>
<!--<file>/path/to/file</file>-->
<exclude>
<!--<directory suffix=".php">/path/to/files</directory>-->
<!--<file>/sr</file>-->
</exclude>
</whitelist>
</filter>
<testsuites>
<testsuite name="Application Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>
excludesection?