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.Commenting.DocCommentDescription sniff: replaces Generic.Commenting.DocComment.MissingShort with support
for @see and @phpstan-ignore(-next-line) as valid first
content in doc comments.
Project configuration guide in README with required phpcs.xml properties (text_domain, prefixes, minimum_wp_version) and a phpcs.xml.dist.example file.
Changed
Removed Universal.UseStatements.DisallowUseFunction. use function imports are now allowed, resolving the
catch-22 where namespaced functions could neither be
imported nor called via FQN. Global function handling
is unaffected (GlobalFunctionQualification still
enforces backslash for native PHP functions).
Fixed
SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly
no longer fires in files without a namespace declaration.
FQN like \Throwable or \RuntimeException are valid
in no-namespace files where use statements are pointless.