Skip to content

Commit 4374fa0

Browse files
committed
Add note to README explaining that WordPress is more than just all subsets. Fixes #1440
1 parent 2cff710 commit 4374fa0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ You can use the following as standard names when invoking `phpcs` to select snif
127127
- `WordPress-Extra` - extended ruleset with recommended best practices, not sufficiently covered in the WordPress core coding standards
128128
- includes `WordPress-Core`
129129

130+
__Note:__ The `WordPress` standard includes some additional checks that are not included in any of the subsets, so running `WordPress-Core` + `WordPress-Docs` + `WordPress-Extra` subsets on their own will miss some checks that would be performed by running `WordPress`.
131+
130132
### Using a custom ruleset
131133

132134
If you need to further customize the selection of sniffs for your project - you can create a custom ruleset file.

0 commit comments

Comments
 (0)