Skip to content

@codeCoverageIgnore does not ignore function imports #681

Description

@niconoe-
Q A
php-code-coverage version 7.0.1
PHP version 7.2.15
Driver Xdebug / PHPDBG
Xdebug version 2.6.1
Installation Method PHPUnit PHAR on Docker image
Usage Method PHPUnit
PHPUnit version 8.0.2

Hi,
After running some PHPUnit with code coverage to some files, I came up with this trouble:
image

The use function imports are marked as red while you can see the class is marked as @codeCoverageIgnore.

I tried to set the flag above, but it didn't work neither.
Is this really a bug or am I doing it wrong? (I mean, I shouldn't ignore code coverage, but I need to do it at the current step of my project...).

Thanks a lot.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions