WPCS native PHPCS ruleset: minor tweaks#1604
Conversation
The `basepath` and `parallel` options were introduced in PHPCS 3.0 and can now be enabled for the WPCS native PHPCS checking. And as WPCS 2.0.0 drops the `VIP` ruleset, we can now include the `WordPress` ruleset instead of including the `WordPress-Extra` + `WordPress-Docs` rulesets separately.
Does this not still include three less-than-ideal sniffs that aren't currently included in any of the named rulesets? |
Good point, I'd forgotten about that. I don't think those sniffs are problematic for our own ruleset though (the build passes after all), but it would be good to have a think about what to do with those sniffs. Adding them to Refs: |
|
Is there any reason why this PR cannot be merged ? The above mentioned "three sniffs in |
The
basepathandparalleloptions were introduced in PHPCS 3.0 and can now be enabled for the WPCS native PHPCS checking.And as WPCS 2.0.0 drops the
VIPruleset, we can now include theWordPressruleset instead of including theWordPress-Extra+WordPress-Docsrulesets separately.