6.1.2
You can now sponsor Slevomat Coding Standard development
Fixes
SingleLineArrayWhitespaceSniff: Fixed settings by XML configuration (thanks to @mcaskill)UselessParenthesesSniff: Fixed false positiveParentCallSpacingSniff: Fixed false positivePropertySpacingSniff: Fixed settings by XML configuration (thanks to @paxal)ConstantSpacingSniff: Fixed settings by XML configuration (thanks to @paxal)PropertySpacingSniff: Fixed false positiveConstantSpacingSniff: Fixed false positiveUnusedPrivateElementsSniff: Fixed support for private typed properties (thanks to @paxal)ParameterTypeHintSniff: Fixed support for union and nullable typesReturnTypeHintSniff: Fixed support for union and nullable typesPropertyTypeHintSniff: Fixed support for union and nullable types
Improvements
SingleLineArrayWhitespaceSniff: Add empty array support (can be enabled with new optionenableEmptyArrayCheck) (thanks to @mcaskill)TraitUseSpacingSniff: Added additional settinglinesCountBeforeFirstUseWhenFirstInClass(thanks to @thled)RequireSingleLineMethodSignatureSniff: New optionincludedMethodPatterns(thanks to @RiKap)RequireSingleLineMethodSignatureSniff: New optionexcludedMethodPatterns(thanks to @RiKap)RequireMultiLineMethodSignatureSniff: New optionincludedMethodPatterns(thanks to @RiKap)RequireMultiLineMethodSignatureSniff: New optionexcludedMethodPatterns(thanks to @RiKap)