Commit graph

4 commits

Author SHA1 Message Date
jrfnl
bc9d5f742e Fix link to WPCS in the PHPCS ruleset.
The link was pointing to the `WordPress-Core` ruleset, while `_s` uses the `WordPress` ruleset which encompasses more than just the core rules.

Pointing to the repo + the wiki seems more appropriate to me.
2017-06-16 00:48:11 +02:00
David A. Kennedy
67d6d59235 Merge branch 'feature/rename-phpcs-ruleset' 2017-06-16 00:39:39 +02:00
jrfnl
b78d053772 PHPCS: Move the recommended command line arguments into the custom ruleset. 2017-06-12 00:21:34 +02:00
jrfnl
0d353e1c0c Rename the PHPCS ruleset.
If the file is called `phpcs.xml` or `phpcs.xml.dist`, it is automatically picked up by PHPCS.

A `phpcs.xml` is given preference over a `phpcs.xml.dist` file. So renaming the file to `phpcs.xml.dist` allows for people to use the file provided by `_s` if they choose not to add their own, but also leaves people the freedom to easily overrule it.
2017-06-12 00:11:53 +02:00
Renamed from codesniffer.ruleset.xml (Browse further)