github slevomat/coding-standard 8.25.0

10 hours ago

🔧 Improvements

  • SlevomatCodingStandard.Functions.RequireMultiLineCall: New option minParametersCount (thanks to @parth391)
  • SlevomatCodingStandard.Functions.RequireMultiLineCall: New option excludedCallPatterns (thanks to @parth391)
  • SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature: New option withParametersWithAttributes
  • SlevomatCodingStandard.PHP.UselessParentheses: Option enableCheckAroundNew is disabled if target PHP version is lower 8.4
  • Support $this as a valid traversable parameter type (thanks to @alies-dev)
  • Fix typo in comment (thanks to @vrana)
  • Improved documentation (thanks to @jrfnl)

🐛 Fixes

  • SlevomatCodingStandard.Whitespaces.DuplicateSpaces: Fixed false positive
  • SlevomatCodingStandard.Complexity.Cognitive: Fixed internal error for closures

Don't miss a new coding-standard release

NewReleases is sending notifications on new releases.