Bug fixes
- #12221: Fix a false positive for
Layout/EmptyLineAfterGuardClause
when usingreturn
before guard condition with heredoc. (@koic) - #12213: Fix a false positive for
Lint/OrderedMagicComments
when comment text# encoding: ISO-8859-1
is embedded within example code as source code comment. (@koic) - #12205: Fix an error for
Style/OperatorMethodCall
when usingfoo bar./ baz
. (@koic) - #12208: Fix an incorrect autocorrect for the
--disable-uncorrectable
command line option when registering an offense is outside a percent array. (@koic) - #12203: Fix an incorrect autocorrect for
Lint/SafeNavigationChain
when using safe navigation with comparison operator as an expression of logical operator or comparison operator's operand. (@koic) - #12206: Fix an incorrect autocorrect for
Style/OperatorMethodCall
when usingfoo./bar
. (@koic) - #12202: Fix an incorrect autocorrect for
Style/RedundantConditional
when unless/else with boolean results. (@ydah) - #12199: Fix false negatives for
Layout/MultilineMethodCallIndentation
when using safe navigation operator. (@koic)