⚠️ Removed support for PHP 7.1
🆕 New sniffs
- Added
SlevomatCodingStandard.Classes.RequireAbstractOrFinal
(thanks to @roslov) - Added
SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch
(thanks to @olsavmic)
🔧 Improvements
- Support for conditional types in annotations
SlevomatCodingStandard.Numbers.RequireNumericLiteralSeparator
: Added optionignoreOctalNumbers
SlevomatCodingStandard.Functions.FunctionLength
: New optionsincludeComments
andincludeWhitespace
(thanks to @bkdotcom)