Releases
7.2.0
Compare
Sorry, something went wrong.
No results found
🆕 New sniffs
Added SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse
Added SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse
🔧 Improvements
Support for offset access type syntax in annotations
Support for @phpstan-assert/@psalm-assert annotations
SlevomatCodingStandard.Whitespaces.DuplicateSpacesSniff: New option ignoreSpacesInMatch
SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall: New option onlySingleLine
SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration: New option onlySingleLine
🐛 Fixes
SlevomatCodingStandard.TypeHints.ReturnTypeHint: Fixed internal error
SlevomatCodingStandard.ControlStructures.UselessIfConditionWithReturn: Fixed internal error
SlevomatCodingStandard.Functions.RequireSingleLineCall: Fixed false positive
SlevomatCodingStandard.Variables.UnusedVariable: Resolve false positives with increment/decrement operators (thanks to @aadmathijssen )
SlevomatCodingStandard.Variables.UnusedVariable: allow increment/decrement operators after yield (thanks to @aadmathijssen )
You can’t perform that action at this time.