Skip to content

8.19.0

Choose a tag to compare

@kukulich kukulich released this 07 Jun 15:24
· 50 commits to master since this release
8.19.0
9cc5050

🔧 Improvements

  • Support of PHP 8.4 properties
    • Asymetric visibility supported
    • final/abstract properties supported
    • Property hooks should not break any sniff

🐛 Fixes

  • SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed: Fixed false positive
  • SlevomatCodingStandard.Classes.ClassMemberSpacing: Prevent deleting unexpected code/comments (thanks to @maryo)
  • SlevomatCodingStandard.Complexity.Cognitive: do...while loop should only increment once (not for both the T_DO and T_WHILE) (thanks to @bkdotcom)
  • SlevomatCodingStandard.TypeHints.ClassConstantTypeHint: New option fixableNativeTypeHint - it's possible to fix only private constants (thanks to @maryo)
  • SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion: Properly autofixing when argument name has an attribute (thanks to @maryo)