Skip to content

Releases: slevomat/coding-standard

7.0.16

22 Oct 07:00
7.0.16
14c324b
Compare
Choose a tag to compare

🐛 Fixes

  • SlevomatCodingStandard.Classes.ModernClassNameReference: Don't flag method declarations (thanks to @jrfnl)
  • SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration: Fixed false positive
  • SlevomatCodingStandard.ControlStructures.NewWithParentheses: Fixed false positive
  • Appended logic in ReferencedNameHelper for find names of class inside double quotes (thanks to @AIlkiv)

7.0.15

09 Sep 10:42
7.0.15
cc80e59
Compare
Choose a tag to compare

🐛 Fixes

  • UseSpacingSniff: Fixed false positive
  • TypeCastSniff: Fixed internal error
  • RequireConstructorPropertyPromotionSniff: Fixed false positives
  • ClassStructureSniff: Add missing magic methods (thanks to @jrfnl)
  • Updated phpstan/phpdoc-parser (thanks to @alexndlm)

7.0.14

26 Aug 12:24
7.0.14
15b2b46
Compare
Choose a tag to compare

🐛 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

29 Jul 14:32
7.0.13
122a9bf
Compare
Choose a tag to compare

🐛 Fixes

  • RequireConstructorPropertyPromotionSniff: Fixed false positive
  • UnusedUsesSniff: Fixed false positive

7.0.12

12 Jul 17:17
7.0.12
Compare
Choose a tag to compare

🐛 Fixes

  • RequireConstructorPropertyPromotionSniff: Fixed internal error

7.0.10

09 Jul 09:17
7.0.10
4607562
Compare
Choose a tag to compare

🐛 Fixes

  • RequireNonCapturingCatchSniff: Fixed false positive
  • ReturnTypeHintSniff: It knows unofficial void type hints
  • ReturnTypeHintSniff: Method returning value with void annotation is reported only
  • ParentCallSpacingSniff: Fixed false positive
  • Fixed array shapes parsing

7.0.9

07 Jun 10:14
7.0.9
d59652e
Compare
Choose a tag to compare

🐛 Fixes

  • UselessInheritDocCommentSniff: Fixed false positive
  • RequireNullSafeObjectOperatorSniff: Fixed false positives
  • UnusedVariableSniff: Fixed false positive

7.0.8

10 May 09:00
7.0.8
4814173
Compare
Choose a tag to compare

🐛 Fixes

  • UnusedUsesSniff: Fixed false positive
  • InlineDocCommentDeclarationSniff: Fixed false positive
  • Fix: resolve false positive in FunctionHelper::isMethod for functions defined within a class method (thanks to @aadmathijssen)

7.0.7

03 May 06:41
7.0.7
0012151
Compare
Choose a tag to compare

🐛 Fixes

  • ReturnTypeHintSniff: Fixed fixer for void in union type hint
  • UnusedUsesSniff: Fixed false positive
  • FunctionLengthSniff: Moved to Functions namespace, old sniff still exists and is marked as deprecated (thanks to @50bhan)
  • FunctionLengthSniff: Resolve off-by-one error (thanks to @aadmathijssen)

7.0.6

27 Apr 16:39
7.0.6
cad651b
Compare
Choose a tag to compare

🐛 Fixes

  • InlineDocCommentDeclarationSniff: Fixed false positive
  • PropertySpacingSniff: Supports attributes (thanks to @dg)
  • ConstantSpacingSniff: Supports attributes (thanks to @dg)