Skip to content

PHPUnit Enricher: classnode is always null #332

@Codewolf

Description

@Codewolf

Issue:

Code coverage seems to scan the coverage folder and adds the coverage section to the generated document but always reports the coverage as 0%.

Research:

Looking through the phpdox code and debugging each run; $classnode in TheSeer\phpDox\Generator\Enricher\PHPUnit:153 always seems to be null (code comment is "this class seems to be newer than the last phpunit run") when phpdox is run on a folder using a phpdox xml config file.

Notes:

  • I am using the phpunit xml format, not clover

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