Skip to content

Allow sniffs to be selectively included #656

Closed
@PatrickRose

Description

@PatrickRose

Hi,

I have a few Sniffs that should only apply to a few directories, so I can't use an exclude. Is there way I can tell PHPCS to whitelist only a certain ruleset (failing that, how should I build an exclude)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions