🔧 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 modifiersSlevomatCodingStandard.Classes.ClassStructure
: Support for enum cases and readonly properties
🐛 Fixes
SlevomatCodingStandard.Classes.PropertyDeclaration
: Fixed missing support for only static propertySlevomatCodingStandard.TypeHints.PropertyTypeHint
: Fixed missing support for only static propertySlevomatCodingStandard.Commenting.EmptyComment
: Fixed internal errorSlevomatCodingStandard.Classes.ForbiddenPublicProperty
: Fixed internal errorSlevomatCodingStandard.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 toSlevomatCodingStandard.Classes.PropertyDeclaration
SlevomatCodingStandard.Classes.ClassStructure
: Removed optionenableFinalMethods
- Removed error
SlevomatCodingStandard.Namespaces.UnusedUses.MismatchingCaseSensitivity