Skip to content

Extend guide for custom development #8

@gillespieza

Description

@gillespieza

Would you be able to extend this guide to explain how to set up various customisations in a phpcs.xml file? For example, how to set up your plugin prefix or text domain so the sniffer doesn't complain at every function definition or every string echo that you should be using a prefix, etc.

I tried setting that up in my project directory, but it seemed like those 2 rules replaced ALL the rest of the wpcs rules. I didn't mean to replace my wpcs ruleset with a custom set. I just wanted to augment the existing wpcs ruleset with my text domain...

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