Skip to content

Conversation

kkmuffme
Copy link

  • 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

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 kkmuffme requested a review from a team as a code owner September 27, 2023 11:16
@jrfnl
Copy link
Collaborator

jrfnl commented Jul 30, 2025

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants