Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Created December 9, 2016 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tommcfarlin/91673e54d92e55c9ed3bbce519596ad0 to your computer and use it in GitHub Desktop.
Save tommcfarlin/91673e54d92e55c9ed3bbce519596ad0 to your computer and use it in GitHub Desktop.
[WordPress] Stop Indexing All PHP Files in PHP CodeSniffer
<?xml version="1.0"?>
<ruleset name="WordPress">
<description>WordPress Coding Standards</description>
<exclude-pattern>*/vendor/*</exclude-pattern>
<rule ref="WordPress-Core"/>
<rule ref="WordPress-Docs"/>
<rule ref="WordPress-Extra"/>
<rule ref="WordPress-VIP"/>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment