This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (0.76.0 → 0.77.0) · Repo · Changelog
Release Notes
0.77.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 70 commits:
Cut 0.77
Enable my GitHub sponsor profile
Merge pull request #7522 from buehmann/even-odd
Fix false positive in Style/EvenOdd
Fix semicolon line length autocorrection
Allow cops to invalidate results cache
Add specific techniques for testing locally against codebase
Merge pull request #7516 from koic/fix_a_false_negative_for_style_redundant_parentheses
[Fix #7515] Fix a false negative for `Style/RedundantParentheses`
Merge pull request #7518 from ozydingo/layout-space_around_keyword-namespace
[Fix #7517] Layout/WhitespaceAroundKeyword: allow `super::const`
Merge pull request #7511 from ayacai115/add-autofix-to-SpaceInsideArrayLiteralBrackets
[Fix #7509] add changelog
Merge branch 'master' into add-autofix-to-SpaceInsideArrayLiteralBrackets
[Fix #7509] Layout/SpaceInsideArrayLiteralBrackets to correct empty lines
Merge pull request #7510 from epistrephein/bugfix/typo-layout-cop
Fix typo in Layout/FirstArrayElementIndentation
Merge pull request #7505 from pocke/add-migration-cop-to-toc
Add migration department to ToC of manual
Restyle example formatting for `Style/NumericLiterals`
Merge pull request #7494 from buehmann/redundant_return/7493
[Fix #7493] Detect redundant returns at end of longer methods
Fix an error for `rake internal_investigation:auto_correct` task
Fix FirstParameterIndentation obsoletion misconfiguration
Merge pull request #7500 from maxh/maxh/fix-names
Minor cleanup of cop names in cop docs
Add new `InternalAffairs/MethodNameEqual` cop
Remove `SafeMode` module
Merge pull request #7485 from pocke/custom-cop-generator
Add custom cop generator to the manual
Merge pull request #7490 from koic/remove_workaround_code_for_jruby
Remove workaround code for a JRuby's bug
Merge pull request #7489 from koic/add_workaround_for_jruby_9_2_9_0
Workaround to skip some tests when using JRuby
Merge pull request #7491 from YourFin/master
Typo fix in Style/ArrayJoin docs
Fix a typo
Tweak a changelog entry
Change terminology to `Allowlist` and `Denylist`
Merge pull request #7478 from igor-drozdov/patch-1
Keep the examples in Style/Next doc consistent
Merge pull request #7476 from mtancoigne/patch-1
Regenerate documentation
Mark renamed cops as changed rather than added
Update CHANGELOG
Update version numbers for renamed cops
Rename Naming/UncommunicativeMethodParamName -> Naming/MethodParameterName
Rename Naming/UncommunicativeBlockParamName -> Naming/BlockParameterName
Rename Lint/StringConversionInInterpolation -> RedundantStringCoercion
Rename Lint/MultipleCompare -> Lint/MultipleComparison
Use SuppressedException in RuboCop code
Rename Lint/HandleExceptions -> Lint/SuppressedException
Rename Lint/DuplicatedKey -> Lint/DuplicateHashKey
Alphabetise obsolete cops
Rename Layout/TrailingBlankLines -> Layout/TrailingEmptyLines
Rename Layout/LeadingBlankLines -> Layout/LeadingEmptyLines
Rename Layout/IndentHeredoc -> Layout/HeredocIndentation
Rename Layout/IndentFirstParameter -> Layout/FirstParameterIndentation
Rename Layout/IndentFirstHashElement -> Layout/FirstHashElementIndentation
Rename Layout/IndentFirstArrayElement -> Layout/FirstArrayElementIndentation
Rename Layout/IndentFirstArgument -> Layout/FirstArgumentIndentation
Rename Layout/IndentAssignment -> Layout/AssingmentIndentation
Rename Layout/AlignParameters -> Layout/ParameterAlignment
Rename Layout/AlignHash -> Layout/HashAlignment
Rename Layout/AlignArray -> Layout/ArrayAlignment
Rename Layout/AlignArguments -> Layout/ArgumentAlignment
Fix typo in command line flags
Extract commands from CLI
Update JRuby version in README
Update document for `Lint/UselessAccessModifier`
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands