rubocop/rubocop (rubocop)
### [`v1.56.2`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1562-2023-08-29)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.56.1...v1.56.2)
##### Bug fixes
- [#12138](https://togithub.com/rubocop/rubocop/issues/12138): Fix a false positive for `Layout/LineContinuationLeadingSpace` when a backslash is part of a multiline string literal. (\[[@ymap](https://togithub.com/ymap)]\[])
- [#12155](https://togithub.com/rubocop/rubocop/pull/12155): Fix false positive for `Layout/RedundantLineBreak` when using a modified singleton method definition. (\[[@koic](https://togithub.com/koic)]\[])
- [#12143](https://togithub.com/rubocop/rubocop/issues/12143): Fix a false positive for `Lint/ToEnumArguments` when using anonymous keyword arguments forwarding. (\[[@koic](https://togithub.com/koic)]\[])
- [#12148](https://togithub.com/rubocop/rubocop/pull/12148): Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation` when using `FileUtils.remove_dir`, `FileUtils.remove_entry`, or `FileUtils.remove_entry_secure`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12141](https://togithub.com/rubocop/rubocop/issues/12141): Fix false positive for `Style/ArgumentsForwarding` when method def includes additional kwargs. (\[[@owst](https://togithub.com/owst)]\[])
- [#12154](https://togithub.com/rubocop/rubocop/issues/12154): Fix incorrect `diagnosticProvider` value of LSP. (\[[@koic](https://togithub.com/koic)]\[])
### [`v1.56.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1561-2023-08-21)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.56.0...v1.56.1)
##### Bug fixes
- [#12136](https://togithub.com/rubocop/rubocop/pull/12136): Fix a false negative for `Layout/LeadingCommentSpace` when using `#+` or `#-` as they are not RDoc comments. (\[[@koic](https://togithub.com/koic)]\[])
- [#12113](https://togithub.com/rubocop/rubocop/issues/12113): Fix a false positive for `Bundler/DuplicatedGroup` when groups are duplicated but `source`, `git`, `platforms`, or `path` values are different. (\[[@koic](https://togithub.com/koic)]\[])
- [#12134](https://togithub.com/rubocop/rubocop/issues/12134): Fix a false positive for `Style/MethodCallWithArgsParentheses` when parentheses are used in one-line `in` pattern matching. (\[[@koic](https://togithub.com/koic)]\[])
- [#12111](https://togithub.com/rubocop/rubocop/issues/12111): Fix an error for `Bundler/DuplicatedGroup` group declaration has keyword option. (\[[@koic](https://togithub.com/koic)]\[])
- [#12109](https://togithub.com/rubocop/rubocop/issues/12109): Fix an error for `Style/ArgumentsForwarding` cop when forwarding kwargs/block arg and an additional arg. (\[[@ydah](https://togithub.com/ydah)]\[])
- [#12117](https://togithub.com/rubocop/rubocop/issues/12117): Fix a false positive for `Style/ArgumentsForwarding` cop when not always forwarding block. (\[[@owst](https://togithub.com/owst)]\[])
- [#12115](https://togithub.com/rubocop/rubocop/pull/12115): Fix an error for `Style/Lambda` when using numbered parameter with a multiline `->` call. (\[[@koic](https://togithub.com/koic)]\[])
- [#12124](https://togithub.com/rubocop/rubocop/issues/12124): Fix false positives for `Style/RedundantParentheses` when parentheses in `super` or `yield` call with multiline style argument. (\[[@koic](https://togithub.com/koic)]\[])
- [#12120](https://togithub.com/rubocop/rubocop/pull/12120): Fix false positives for `Style/SymbolArray` when `%i` array containing unescaped `[`, `]`, `(`, or `)`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12133](https://togithub.com/rubocop/rubocop/pull/12133): Fix `Style/RedundantSelfAssignmentBranch` to handle heredocs. (\[[@r7kamura](https://togithub.com/r7kamura)]\[])
- [#12105](https://togithub.com/rubocop/rubocop/issues/12105): Fix target ruby `Gem::Requirement` matcher and version parsing to support multiple version constraints. (\[[@ItsEcholot](https://togithub.com/ItsEcholot)]\[])
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
'1.56.0'
->'1.56.2'
Release Notes
rubocop/rubocop (rubocop)
### [`v1.56.2`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1562-2023-08-29) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.56.1...v1.56.2) ##### Bug fixes - [#12138](https://togithub.com/rubocop/rubocop/issues/12138): Fix a false positive for `Layout/LineContinuationLeadingSpace` when a backslash is part of a multiline string literal. (\[[@ymap](https://togithub.com/ymap)]\[]) - [#12155](https://togithub.com/rubocop/rubocop/pull/12155): Fix false positive for `Layout/RedundantLineBreak` when using a modified singleton method definition. (\[[@koic](https://togithub.com/koic)]\[]) - [#12143](https://togithub.com/rubocop/rubocop/issues/12143): Fix a false positive for `Lint/ToEnumArguments` when using anonymous keyword arguments forwarding. (\[[@koic](https://togithub.com/koic)]\[]) - [#12148](https://togithub.com/rubocop/rubocop/pull/12148): Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation` when using `FileUtils.remove_dir`, `FileUtils.remove_entry`, or `FileUtils.remove_entry_secure`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12141](https://togithub.com/rubocop/rubocop/issues/12141): Fix false positive for `Style/ArgumentsForwarding` when method def includes additional kwargs. (\[[@owst](https://togithub.com/owst)]\[]) - [#12154](https://togithub.com/rubocop/rubocop/issues/12154): Fix incorrect `diagnosticProvider` value of LSP. (\[[@koic](https://togithub.com/koic)]\[]) ### [`v1.56.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1561-2023-08-21) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.56.0...v1.56.1) ##### Bug fixes - [#12136](https://togithub.com/rubocop/rubocop/pull/12136): Fix a false negative for `Layout/LeadingCommentSpace` when using `#+` or `#-` as they are not RDoc comments. (\[[@koic](https://togithub.com/koic)]\[]) - [#12113](https://togithub.com/rubocop/rubocop/issues/12113): Fix a false positive for `Bundler/DuplicatedGroup` when groups are duplicated but `source`, `git`, `platforms`, or `path` values are different. (\[[@koic](https://togithub.com/koic)]\[]) - [#12134](https://togithub.com/rubocop/rubocop/issues/12134): Fix a false positive for `Style/MethodCallWithArgsParentheses` when parentheses are used in one-line `in` pattern matching. (\[[@koic](https://togithub.com/koic)]\[]) - [#12111](https://togithub.com/rubocop/rubocop/issues/12111): Fix an error for `Bundler/DuplicatedGroup` group declaration has keyword option. (\[[@koic](https://togithub.com/koic)]\[]) - [#12109](https://togithub.com/rubocop/rubocop/issues/12109): Fix an error for `Style/ArgumentsForwarding` cop when forwarding kwargs/block arg and an additional arg. (\[[@ydah](https://togithub.com/ydah)]\[]) - [#12117](https://togithub.com/rubocop/rubocop/issues/12117): Fix a false positive for `Style/ArgumentsForwarding` cop when not always forwarding block. (\[[@owst](https://togithub.com/owst)]\[]) - [#12115](https://togithub.com/rubocop/rubocop/pull/12115): Fix an error for `Style/Lambda` when using numbered parameter with a multiline `->` call. (\[[@koic](https://togithub.com/koic)]\[]) - [#12124](https://togithub.com/rubocop/rubocop/issues/12124): Fix false positives for `Style/RedundantParentheses` when parentheses in `super` or `yield` call with multiline style argument. (\[[@koic](https://togithub.com/koic)]\[]) - [#12120](https://togithub.com/rubocop/rubocop/pull/12120): Fix false positives for `Style/SymbolArray` when `%i` array containing unescaped `[`, `]`, `(`, or `)`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12133](https://togithub.com/rubocop/rubocop/pull/12133): Fix `Style/RedundantSelfAssignmentBranch` to handle heredocs. (\[[@r7kamura](https://togithub.com/r7kamura)]\[]) - [#12105](https://togithub.com/rubocop/rubocop/issues/12105): Fix target ruby `Gem::Requirement` matcher and version parsing to support multiple version constraints. (\[[@ItsEcholot](https://togithub.com/ItsEcholot)]\[])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.