Skip to content

Releases: slevomat/coding-standard

7.0.14

26 Aug 12:24
7.0.14
15b2b46

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

Choose a tag to compare

🐛 Fixes

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

7.0.12

12 Jul 17:17
7.0.12

Choose a tag to compare

🐛 Fixes

  • RequireConstructorPropertyPromotionSniff: Fixed internal error

7.0.10

09 Jul 09:17
7.0.10
4607562

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

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

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

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

Choose a tag to compare

🐛 Fixes

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

7.0.5

20 Apr 12:48
7.0.5
35e0235

Choose a tag to compare

🐛 Fixes

  • RequireNullSafeObjectOperatorSniff: Fixed false positives
  • UselessParenthesesSniff: Fixed false positive

7.0.4

19 Apr 07:31
7.0.4
5a78b78

Choose a tag to compare

🐛 Fixes

  • RequireConstructorPropertyPromotionSniff: Fixed false positive
  • BlockControlStructureSpacingSniff: Fixed false positive