🆕 New sniffs
SlevomatCodingStandard.TypeHints.RequireTrailingCommaInArrayShape: Enforces trailing commas in non-empty multi-line PHPDoc array shapes (thanks to @simPod)
🐛 Fixes
SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration: Recognize asymmetric visibility properties (thanks to @beberlei)SlevomatCodingStandard.TypeHints.PropertyTypeHint: Check properties whose last modifier is readonly or asymmetric visibility (thanks to @youdie006)- Fix support of phpdoc-parser name nodes (thanks to @simPod)
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positive for type aliases used in type alias definitions (thanks to @sinemacula-ben)SlevomatCodingStandard.Namespaces.UnusedUses: Fixed false positive for typed constantSlevomatCodingStandard.Variables.UnusedVariable: Fixed false positive for assignment to a variable captured by reference in a closureSlevomatCodingStandard.Classes.ClassMemberSpacing: Fixed false positive for properties with closuresSlevomatCodingStandard.Namespaces.NamespaceSpacing: Fixed false positive for PHPCS annotations before namespace (thanks to @lyn1dev)SlevomatCodingStandard.Functions.RequireSingleLineCall: Fixed false positive for by-reference functions (thanks to @Cayan)SlevomatCodingStandard.Functions.RequireMultiLineCall: Fixed false positive for by-reference functions (thanks to @Cayan)- Fixed multibyte line length in multiple sniffs (thanks to @Cayan)