Closed gwenaelCruz closed 3 years ago
When merging HTML coverage, an error occurs, and a message telling a class is not found.
PHP Fatal error: Uncaught Error: Class 'SebastianBergmann\CliParser\RequiredOptionArgumentMissingException' not found in phar:///opt/phpcov.phar/sebastian/cli-parser/src/Parser.php:172 Stack trace: #0 phar:///opt/phpcov.phar/sebastian/cli-parser/src/Parser.php(81): SebastianBergmann\CliParser\Parser->parseLongOption('html', Array, Array, Array) #1 phar:///opt/phpcov.phar/src/cli/ArgumentsBuilder.php(82): SebastianBergmann\CliParser\Parser->parse(Array, 'hv', Array) #2 phar:///opt/phpcov.phar/src/cli/Application.php(25): SebastianBergmann\PHPCOV\ArgumentsBuilder->build(Array) #3 /opt/phpcov.phar(765): SebastianBergmann\PHPCOV\Application->run(Array) #4 {main} thrown in phar:///opt/phpcov.phar/sebastian/cli-parser/src/Parser.php on line 172
php /opt/phpcov.phar merge /path/to/coverage/ --html > "/path/to/coverage/html"
HTML coverage report generated
It crashes with both HTML and text report although it works perfectly with phpcov-8.0.0.
Summary
When merging HTML coverage, an error occurs, and a message telling a class is not found.
Current behavior
How to reproduce
Expected behavior
HTML coverage report generated
Notes
It crashes with both HTML and text report although it works perfectly with phpcov-8.0.0.