Files
XC_VM/build
Divarion_D ef88d7e325 style(phpcs): convert muted rules to comment/exclude toggles
Replace the `<severity>0</severity>` mute block with single-line toggles so
disabled sniffs can be re-enabled one at a time, per the technical-debt
ratchet. Two mechanisms, because phpcs `<exclude>` cannot be overridden by a
later ref:
  - sniffs with their own `<rule ref>` are commented out in place (uncomment
    to enable): CamelCapsFunctionName, MultiLineAssignment,
    UnnecessaryStringConcat, SAPIUsage, AbstractClassNamePrefix,
    InterfaceNameSuffix, TraitNameSuffix, DeprecatedFunctions, ClassFileName,
    GlobalKeyword;
  - sniffs pulled in by the PSR12 parent are `<exclude>`d inside it (delete the
    exclude to enable): CamelCapsMethodName, FileHeader.IncorrectOrder,
    MethodDeclaration.Underscore, SwitchDeclaration.TerminatingComment,
    PSR1.Classes.ClassDeclaration, PropertyDeclaration.Underscore,
    ValidClassName;
  - CyclomaticComplexity/NestingLevel MaxExceeded are message-level excludes on
    their own refs (TooHigh warning still reports).

ControlStructureSpacing and PEAR FunctionCallSignature (tab-incompatible) and
ParameterTypeHint (null-crash fixer footgun) are marked DO NOT ENABLE. Added a
ratchet legend documenting every toggle, its violation count, and a suggested
enable order. `make cs` stays green (0 errors) and `make cs-fix` converges;
both toggle directions verified.
2026-09-18 13:44:50 +03:00
..