Skip to content

8.0.0

Compare
Choose a tag to compare
@kukulich kukulich released this 17 Jun 13:24
· 269 commits to master since this release
8.0.0
84cc169

馃敡 Improvements

  • Support for intersection types
  • Support for readonly properties
  • Support for enums
  • Support for never type hint
  • Support for more unofficial type hints
  • SlevomatCodingStandard.Classes.PropertyDeclaration: Checks also order of modifiers
  • SlevomatCodingStandard.Classes.ClassStructure: Support for enum cases and readonly properties

馃悰 Fixes

  • SlevomatCodingStandard.Classes.PropertyDeclaration: Fixed missing support for only static property
  • SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fixed missing support for only static property
  • SlevomatCodingStandard.Commenting.EmptyComment: Fixed internal error
  • SlevomatCodingStandard.Classes.ForbiddenPublicProperty: Fixed internal error
  • SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for @psalm-import-type in @psalm-var
  • SlevomatCodingStandard.PHP.RequireExplicitAssertion: Ignore unsupported unofficial type hints

鈿狅笍BC breaks

  • SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing renamed to SlevomatCodingStandard.Classes.PropertyDeclaration
  • SlevomatCodingStandard.Classes.ClassStructure: Removed option enableFinalMethods
  • Removed error SlevomatCodingStandard.Namespaces.UnusedUses.MismatchingCaseSensitivity