Releases: slevomat/coding-standard
Releases · slevomat/coding-standard
7.0.16
🐛 Fixes
SlevomatCodingStandard.Classes.ModernClassNameReference
: Don't flag method declarations (thanks to @jrfnl)SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration
: Fixed false positiveSlevomatCodingStandard.ControlStructures.NewWithParentheses
: Fixed false positive- Appended logic in
ReferencedNameHelper
for find names of class inside double quotes (thanks to @AIlkiv)
7.0.15
7.0.14
🐛 Fixes
InlineDocCommentDeclarationSniff
: Don't report missing assigment for$this
ParameterTypeHintSniff
,ReturnTypeHintSniff
,PropertyTypeHintSniff
: Short nullable is now reported as useless annotation too- Don't try to find references in double quoted string - it's difficult to parse it with PHPCS
7.0.13
7.0.12
7.0.10
🐛 Fixes
RequireNonCapturingCatchSniff
: Fixed false positiveReturnTypeHintSniff
: It knows unofficialvoid
type hintsReturnTypeHintSniff
: Method returning value withvoid
annotation is reported onlyParentCallSpacingSniff
: Fixed false positive- Fixed array shapes parsing
7.0.9
7.0.8
🐛 Fixes
UnusedUsesSniff
: Fixed false positiveInlineDocCommentDeclarationSniff
: Fixed false positive- Fix: resolve false positive in
FunctionHelper::isMethod
for functions defined within a class method (thanks to @aadmathijssen)
7.0.7
🐛 Fixes
ReturnTypeHintSniff
: Fixed fixer forvoid
in union type hintUnusedUsesSniff
: Fixed false positiveFunctionLengthSniff
: Moved toFunctions
namespace, old sniff still exists and is marked as deprecated (thanks to @50bhan)FunctionLengthSniff
: Resolve off-by-one error (thanks to @aadmathijssen)