You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Apermo.DataStructures.ArrayComplexity sniff: flags deeply nested or wide associative arrays that would benefit from typed objects
Apermo.WordPress.GlobalPostAccess sniff: flags global $post; inside functions, methods, closures, and arrow functions
Apermo.WordPress.ImplicitPostFunction sniff: flags WordPress template functions called without an explicit post argument inside function scopes
Changed
BREAKING:Apermo.WordPress.ImplicitPostFunction redesigned severity tiers. Severity is now based on the argument passed, not the function identity. New error codes: MissingArgument (error), NullArgument (error), IntegerArgument (warning), NoPostParameter (error). All codes are configurable via standard PHPCS <rule><type> overrides.
Removed
BREAKING:ImplicitPostFunction error codes DirectAccess and MissingPostParameter. Use MissingArgument, NullArgument, or IntegerArgument instead.