Bug fixes
- #14803: Fix an error for
Layout/IndentationWidthcop. (@viralpraxis) - #14806: Fix an error in
Style/NegativeArrayIndexwhen usingselfas array with implicitselfreceiver. (@koic) - #14813: Fix opt-in cop comments taking precedence over configuration file exclude patterns. (@afrase)
- #14819: Fix incorrect autocorrect for
Style/GuardClausewhen using heredoc as an argument of method call in raise inelsebranch. (@koic) - #14805: Bring back the original indentation from before version 1.84.0. (@Magikdidi24)
- #12754: Fix an infinite loop for
Style/IfUnlessModifierwhen multipleif/unlessstatements share the same line in arrays, method arguments, or hash values. (@ydakuka) - #14817: Fix an infinite loop between
Layout/FirstArgumentIndentationandLayout/LineLengthwhen correcting method chains. (@ydakuka) - #11513: Fix
Layout/MultilineMethodCallIndentationto properly handle method chains inside hash pair values. (@ydakuka) - #14814: Fix push/pop directives to properly handle nested scopes and state restoration. (@Magikdidi24)