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.Operators.DisallowPreIncrementDecrement sniff:
flags ++$var and --$var in favor of $var++ and $var--. Auto-fixable. Handles complex identifiers
like $obj->prop, self::$var, and $arr['key'].
SlevomatCodingStandard.Operators.RequireOnlyStandaloneIncrementAndDecrementOperators:
restricts ++/-- to standalone statements and
loop contexts only.
SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly:
force explicit use imports instead of inline FQN.
SlevomatCodingStandard.Namespaces.UseFromSameNamespace:
prevent redundant use for same-namespace classes.
SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions:
require \function_exists() in namespaced code.
SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalConstants:
require \PHP_VERSION in namespaced code.
ids added to MinimumVariableNameLength default
allowlist. Common in WordPress for post/term/attachment
ID collections.
Changed
Excluded Universal.Operators.DisallowStandalonePostIncrementDecrement
from WordPress block. We enforce post-increment
over pre-increment.