Bug fixes
- #4411: Handle properly safe navigation in
Style/YodaCondition
. (@bbatsov) - #4412: Handle properly literal comparisons in
Style/YodaCondition
. (@bbatsov) - Handle properly class variables and global variables in
Style/YodaCondition
. (@bbatsov) - #4392: Fix the auto-correct of
Style/Next
when theend
is misaligned. (@rrosenblum) - #4407: Prevent
Performance/RegexpMatch
from blowing up onmatch
without arguments. (@pocke) - #4414: Handle pseudo-assignments in
for
loops inStyle/ConditionalAssignment
. (@bbatsov) - #4419: Handle combination
AllCops: DisabledByDefault: true
andRails: Enabled: true
. (@jonas054) - #4422: Fix missing space in message for
Style/MultipleComparison
. (@timrogers) - #4420: Ensure
Style/EmptyMethod
honours indentation when auto-correcting. (@drenmi) - #4442: Prevent
Style/WordArray
from breaking on strings that aren't valid UTF-8. (@pocke) - #4441: Prevent
Layout/SpaceAroundBlockParameters
from breaking on lambda. (@pocke)