Releases
8.0.0
Compare
Sorry, something went wrong.
No results found
🔧 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
You can’t perform that action at this time.