| Q |
A |
| PHPUnit version |
PHPUnit 9.5.5 |
| PHP version |
PHP 7.4.16 |
| Installation Method |
Composer |
Summary
Current behavior
Generating code coverage report in HTML format ... syntax error, unexpected '-', expecting '{'
and
Generating code coverage report in Clover XML format ... syntax error, unexpected '-', expecting '{'
I've posted this issue also on stackoverflow
How to reproduce
.\vendor\bin\phpunit --coverage-html ./coverage.html
Expected behavior
getting a coverage report