Skip to content

Commit

Permalink
Note about some issues coming from upstream
Browse files Browse the repository at this point in the history
Explains how to check whether one of our sniffs is the one flagging a piece of code.
  • Loading branch information
JDGrimes committed Feb 5, 2016
1 parent a996a0a commit 95dd49e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Upstream Issues

Since WPCS employs many sniffs that are part of PHPCS, sometimes an issue will be caused by a bug in PHPCS and not in WPCS itself. Before reporting a bug, you should check what sniff an error is coming from. Running `phpcs` with the `-s` flag, which will show the names of the sniffs with each error. If the error message in question doesn't come from a sniff whose name starts with `WordPress`, the issue is probably a bug in PHPCS itself, and should be [reported there](https://github.com/squizlabs/PHP_CodeSniffer/issues).

# Branches

Ongoing development will be done in the `develop` with merges done into `master` once considered stable.
Expand Down

0 comments on commit 95dd49e

Please sign in to comment.