Skip to content

Generating code coverage report in Clover XML format ... syntax error, unexpected '-', expecting '{' #858

@lordisp

Description

@lordisp
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions