Skip to content

[RFC] Remove blacklist and make whitelist mandatory #385

@sebastianbergmann

Description

@sebastianbergmann

Triggered by #384, I started thinking about how complex (and perceived by many users as complicated) the blacklist and whitelist functionality of PHPUnit and PHP_CodeCoverage is.

A radical approach to make this simpler, both for those working on PHP_CodeCoverage and those that use PHPUnit, could be to remove the blacklist and make the whitelist mandatory. Current versions of PHPUnit already emit a warning when code coverage is activated but no whitelist is configured.

Thoughts?

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