### Bug fixes

* [#14803](https://github.com/rubocop/rubocop/pull/14803): Fix an error for `Layout/IndentationWidth` cop. ([@viralpraxis][])
* [#14806](https://github.com/rubocop/rubocop/issues/14806): Fix an error in `Style/NegativeArrayIndex` when using `self` as array with implicit `self` receiver. ([@koic][])
* [#14813](https://github.com/rubocop/rubocop/pull/14813): Fix opt-in cop comments taking precedence over configuration file exclude patterns. ([@afrase][])
* [#14819](https://github.com/rubocop/rubocop/pull/14819): Fix incorrect autocorrect for `Style/GuardClause` when using heredoc as an argument of method call in raise in `else` branch. ([@koic][])
* [#14805](https://github.com/rubocop/rubocop/issues/14805): Bring back the original indentation from before version 1.84.0. ([@Magikdidi24][])
* [#12754](https://github.com/rubocop/rubocop/issues/12754): Fix an infinite loop for `Style/IfUnlessModifier` when multiple `if`/`unless` statements share the same line in arrays, method arguments, or hash values. ([@ydakuka][])
* [#14817](https://github.com/rubocop/rubocop/issues/14817): Fix an infinite loop between `Layout/FirstArgumentIndentation` and `Layout/LineLength` when correcting method chains. ([@ydakuka][])
* [#11513](https://github.com/rubocop/rubocop/issues/11513): Fix `Layout/MultilineMethodCallIndentation` to properly handle method chains inside hash pair values. ([@ydakuka][])
* [#14814](https://github.com/rubocop/rubocop/pull/14814): Fix push/pop directives to properly handle nested scopes and state restoration. ([@Magikdidi24][])

### Changes

* [#14823](https://github.com/rubocop/rubocop/issues/14823): Add the built-in `infinite?` method to the allowlists for `Naming/PredicateMethod`, `Style/IfWithBooleanLiteralBranches`, and `Style/RedundantCondition`, in addition to the existing `nonzero?`. ([@koic][])
* [#14735](https://github.com/rubocop/rubocop/pull/14735): Remove deprecated InjectDefaults handling. ([@afurm][])

[@viralpraxis]: https://github.com/viralpraxis
[@koic]: https://github.com/koic
[@afrase]: https://github.com/afrase
[@Magikdidi24]: https://github.com/Magikdidi24
[@ydakuka]: https://github.com/ydakuka
[@afurm]: https://github.com/afurm
