Skip to content

Wrong namspace - not a PHPUnit code coverage file #333

@cyrilverloop

Description

@cyrilverloop

Hi,

When i use phpdox with a phpunit enricher, an exception is thrown saying "Wrong namspace - not a PHPUnit code coverage file" .

The file "src/generator/enricher/phpunit/PHPUnit.php" has a XMLNS constant which defined a "http" address. But phpunit generates xml report with a "https" value. Hence the exception.

I tried modifying the phpunit report to "http" and the enricher stop throwing the exception.
I don't know if adding "https" to the constant would have another impact.

php : 7.2.5
phpunit : 7.1.5
phpdox : 0.11.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions