Skip to content

6.1.2

Choose a tag to compare

@kukulich kukulich released this 01 Feb 16:12
· 1090 commits to master since this release
6.1.2
bb9db1a

You can now sponsor Slevomat Coding Standard development

Fixes

  • SingleLineArrayWhitespaceSniff: Fixed settings by XML configuration (thanks to @mcaskill)
  • UselessParenthesesSniff: Fixed false positive
  • ParentCallSpacingSniff: Fixed false positive
  • PropertySpacingSniff: Fixed settings by XML configuration (thanks to @paxal)
  • ConstantSpacingSniff: Fixed settings by XML configuration (thanks to @paxal)
  • PropertySpacingSniff: Fixed false positive
  • ConstantSpacingSniff: Fixed false positive
  • UnusedPrivateElementsSniff: Fixed support for private typed properties (thanks to @paxal)
  • ParameterTypeHintSniff: Fixed support for union and nullable types
  • ReturnTypeHintSniff: Fixed support for union and nullable types
  • PropertyTypeHintSniff: Fixed support for union and nullable types

Improvements

  • SingleLineArrayWhitespaceSniff: Add empty array support (can be enabled with new option enableEmptyArrayCheck) (thanks to @mcaskill)
  • TraitUseSpacingSniff: Added additional setting linesCountBeforeFirstUseWhenFirstInClass (thanks to @thled)
  • RequireSingleLineMethodSignatureSniff: New option includedMethodPatterns (thanks to @RiKap)
  • RequireSingleLineMethodSignatureSniff: New option excludedMethodPatterns (thanks to @RiKap)
  • RequireMultiLineMethodSignatureSniff: New option includedMethodPatterns (thanks to @RiKap)
  • RequireMultiLineMethodSignatureSniff: New option excludedMethodPatterns (thanks to @RiKap)