| Q |
A |
| php-code-coverage version |
9.2.0 |
| PHP version |
7.4.9 |
| Driver |
Xdebug |
| Xdebug version (if used) |
2.9.4 |
| Installation Method |
Composer |
| Usage Method |
Standalone |
| PHPUnit version (if used) |
(none) |
When generating a HTML report using phpunit/php-code-coverage standalone, a fatal error occurs here:
Error(0, (0x2f)'Class 'PHPUnit\Runner\BaseTestRunner' not found') [line 995 of File.php]
This is due to the fact that the switch statement uses PHPUnit\Runner\BaseTestRunner class constants but does not include a runtime dependency on phpunit/phpunit.