Bug fixes
- #6678: Fix
Lint/DisjunctiveAssignmentInConstructor
when it finds an empty constructor. (@rmm5t) - Do not attempt to auto-correct mass assignment or optional assignment in
Rails/RelativeDateConstant
. (@rrosenblum) - Fix auto-correction of
Style/WordArray
andStyle/SymbolArray
when all elements are on separate lines and there is a trailing comment after the closing bracket. (@rrosenblum) - Fix an exception that occurs when auto-correcting
Layout/ClosingParenthesesIndentation
when there are no arguments. (@rrosenblum)