github slevomat/coding-standard 8.22.0

one day ago

🔧 Improvements

  • SlevomatCodingStandard.Functions.UnusedParameter: New option allowedParameterPatterns to suppress check for specific parameter names (thanks to @claytonrcarter)

🐛 Fixes

  • SlevomatCodingStandard.Attributes.AttributesOrder: Fixed alphabetical sorting
  • SlevomatCodingStandard.Functions.DisallowEmptyFunction: Private or protected constructor should not be reported
  • SlevomatCodingStandard.TypeHints.ReturnTypeHint: Report missing type hint in abstract methods (thanks to @vrana)
  • Fixed deprecated errors in PHP 8.5
  • Fixed attributes parsing

Don't miss a new coding-standard release

NewReleases is sending notifications on new releases.