VIP-Coding-Standards icon indicating copy to clipboard operation
VIP-Coding-Standards copied to clipboard

Disable VariableAnalysis for phpcbf to speed up by 20%

Open kkmuffme opened this issue 2 years ago • 1 comments

  • Disable VariableAnalysis for phpcbf to speed up by 20%
  • Also removes default "ruleset", as there's only one rule which is specifically declared, therefore making the ruleset redundant and causing problems with custom rulesets, that only declare the rule (with phpcs-only="true"), but not the ruleset itself, causing this ruleset to load variable analysis unnecessarily

kkmuffme avatar Sep 27 '23 11:09 kkmuffme

Why would this sniff get the phpcs-only="true" flag, while there are 40+ sniffs in VIPCS itself, which don't, while none of those contain fixers either ?

jrfnl avatar Jul 30 '25 04:07 jrfnl