]> source.dussan.org Git - redmine.git/commitdiff
Update RuboCop to 1.26 (#35136).
authorGo MAEDA <maeda@farend.jp>
Thu, 10 Mar 2022 02:51:59 +0000 (02:51 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 10 Mar 2022 02:51:59 +0000 (02:51 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@21452 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
Gemfile

index 2b1c4b95a2bbd4915919abebfef0ecbbb502b4f9..3b18bab40ea367c6be3e19bbb71443d7cf876672 100644 (file)
@@ -1,24 +1,24 @@
 # This configuration was generated by
 # `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.25.1.
+# using RuboCop version 1.26.0.
 # The point is for the user to remove these configuration records
 # one by one as the offenses are removed from the code base.
 # Note that changes in the inspected code, or installation of new
 # versions of RuboCop, may require this file to be generated again.
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, IndentationWidth.
 # SupportedStyles: with_first_argument, with_fixed_indentation
 Layout/ArgumentAlignment:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: leading, trailing
 Layout/DotPosition:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Layout/EmptyLineAfterGuardClause:
   Exclude:
     - 'db/migrate/101_populate_changesets_user_id.rb'
@@ -28,19 +28,19 @@ Layout/EmptyLineAfterGuardClause:
     - 'lib/redmine/string_array_diff/diffable.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
 Layout/EmptyLineBetweenDefs:
   Exclude:
     - 'config/initializers/10-patches.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Layout/EmptyLines:
   Exclude:
     - 'config/routes.rb'
     - 'db/migrate/001_setup.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowAliasSyntax, AllowedMethods.
 # AllowedMethods: alias_method, public, protected, private
 Layout/EmptyLinesAroundAttributeAccessor:
@@ -50,7 +50,7 @@ Layout/EmptyLinesAroundAttributeAccessor:
     - 'lib/redmine/sudo_mode.rb'
     - 'test/unit/lib/redmine/safe_attributes_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
 Layout/EmptyLinesAroundClassBody:
@@ -72,7 +72,7 @@ Layout/EmptyLinesAroundClassBody:
     - 'test/integration/routing/repositories_test.rb'
     - 'test/unit/lib/redmine/field_format/link_format_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Layout/EmptyLinesAroundExceptionHandlingKeywords:
   Exclude:
     - 'app/controllers/activities_controller.rb'
@@ -80,7 +80,7 @@ Layout/EmptyLinesAroundExceptionHandlingKeywords:
     - 'app/controllers/wiki_controller.rb'
     - 'test/functional/settings_controller_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Layout/EmptyLinesAroundMethodBody:
   Exclude:
     - 'app/models/query.rb'
@@ -91,7 +91,7 @@ Layout/EmptyLinesAroundMethodBody:
     - 'test/integration/account_test.rb'
     - 'test/unit/attachment_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
 Layout/EmptyLinesAroundModuleBody:
@@ -115,12 +115,12 @@ Layout/EmptyLinesAroundModuleBody:
     - 'lib/redmine/plugin.rb'
     - 'lib/redmine/search.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
 Layout/ExtraSpacing:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, IndentationWidth.
 # SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
 Layout/FirstArgumentIndentation:
@@ -131,7 +131,7 @@ Layout/FirstArgumentIndentation:
     - 'test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb'
     - 'test/unit/repository_cvs_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
 # SupportedHashRocketStyles: key, separator, table
 # SupportedColonStyles: key, separator, table
@@ -139,7 +139,7 @@ Layout/FirstArgumentIndentation:
 Layout/HashAlignment:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Width, IgnoredPatterns.
 Layout/IndentationWidth:
   Exclude:
@@ -148,37 +148,37 @@ Layout/IndentationWidth:
     - 'db/migrate/20120115143126_set_default_repositories.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
 Layout/LeadingCommentSpace:
   Exclude:
     - 'lib/redmine/scm/adapters/cvs_adapter.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, IndentationWidth.
 # SupportedStyles: aligned, indented
 Layout/LineEndStringConcatenationIndentation:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: symmetrical, new_line, same_line
 Layout/MultilineMethodCallBraceLayout:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, IndentationWidth.
 # SupportedStyles: aligned, indented, indented_relative_to_receiver
 Layout/MultilineMethodCallIndentation:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, IndentationWidth.
 # SupportedStyles: aligned, indented
 Layout/MultilineOperationIndentation:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Layout/SpaceAfterComma:
   Exclude:
     - 'app/controllers/projects_controller.rb'
@@ -197,7 +197,7 @@ Layout/SpaceAfterComma:
     - 'test/unit/attachment_test.rb'
     - 'test/unit/lib/redmine/field_format/version_field_format_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Layout/SpaceAfterNot:
   Exclude:
     - 'app/controllers/application_controller.rb'
@@ -217,20 +217,20 @@ Layout/SpaceAfterNot:
     - 'test/unit/role_test.rb'
     - 'test/unit/user_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
 # SupportedStylesForExponentOperator: space, no_space
 Layout/SpaceAroundOperators:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowForAlignment.
 Layout/SpaceBeforeFirstArg:
   Exclude:
     - 'test/helpers/issues_helper_test.rb'
     - 'test/unit/lib/redmine/menu_manager_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
 # SupportedStyles: space, no_space, compact
 # SupportedStylesForEmptyBrackets: space, no_space
@@ -240,7 +240,7 @@ Layout/SpaceInsideArrayLiteralBrackets:
     - 'lib/redmine/string_array_diff/diff.rb'
     - 'test/unit/mailer_localisation_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: space, compact, no_space
 Layout/SpaceInsideParens:
@@ -255,7 +255,7 @@ Layout/SpaceInsideParens:
     - 'test/unit/issue_subtasking_test.rb'
     - 'test/unit/lib/redmine/export/pdf_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: space, no_space
 Layout/SpaceInsideStringInterpolation:
@@ -270,7 +270,7 @@ Layout/SpaceInsideStringInterpolation:
 Lint/AmbiguousBlockAssociation:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Lint/AmbiguousOperator:
   Exclude:
     - 'app/controllers/application_controller.rb'
@@ -278,11 +278,11 @@ Lint/AmbiguousOperator:
     - 'test/unit/custom_field_test.rb'
     - 'test/unit/member_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Lint/AmbiguousOperatorPrecedence:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Lint/AmbiguousRegexpLiteral:
   Enabled: false
 
@@ -315,12 +315,12 @@ Lint/FloatComparison:
     - 'app/models/time_entry.rb'
     - 'test/system/timelog_test.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Lint/InterpolationCheck:
   Exclude:
     - 'app/models/user.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Lint/Loop:
   Exclude:
     - 'lib/redmine/helpers/gantt.rb'
@@ -342,7 +342,7 @@ Lint/MixedRegexpCaptureTypes:
   Exclude:
     - 'app/helpers/application_helper.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Lint/NonDeterministicRequireOrder:
   Exclude:
     - 'lib/redmine/core_ext.rb'
@@ -352,7 +352,7 @@ Lint/OutOfRangeRegexpRef:
   Exclude:
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Lint/ParenthesesAsGroupedExpression:
   Exclude:
     - 'test/functional/my_controller_test.rb'
@@ -361,14 +361,14 @@ Lint/ParenthesesAsGroupedExpression:
     - 'test/unit/attachment_test.rb'
     - 'test/unit/lib/redmine/export/pdf_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Lint/RedundantStringCoercion:
   Exclude:
     - 'lib/redmine/export/pdf/issues_pdf_helper.rb'
     - 'test/functional/repositories_filesystem_controller_test.rb'
     - 'test/functional/repositories_git_controller_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Lint/SendWithMixinArgument:
   Exclude:
     - 'test/object_helpers.rb'
@@ -385,17 +385,17 @@ Lint/SuppressedException:
     - 'lib/redmine/scm/adapters/cvs_adapter.rb'
     - 'lib/redmine/scm/adapters/subversion_adapter.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
 Lint/UnusedBlockArgument:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
 Lint/UnusedMethodArgument:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
 Lint/UselessAccessModifier:
   Exclude:
@@ -458,7 +458,7 @@ Naming/MethodName:
 Naming/MethodParameterName:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: PreferredName.
 Naming/RescuedExceptionsVariableName:
   Exclude:
@@ -485,14 +485,14 @@ Naming/VariableNumber:
     - 'test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb'
     - 'test/unit/project_test.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Performance/AncestorsInclude:
   Exclude:
     - 'test/unit/document_category_test.rb'
     - 'test/unit/issue_priority_test.rb'
     - 'test/unit/time_entry_activity_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Performance/BlockGivenWithExplicitBlock:
   Exclude:
     - 'app/controllers/account_controller.rb'
@@ -525,7 +525,7 @@ Performance/CollectionLiteralInLoop:
     - 'test/unit/repository_git_test.rb'
     - 'test/unit/repository_mercurial_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Performance/ConstantRegexp:
   Exclude:
     - 'app/models/changeset.rb'
@@ -538,7 +538,7 @@ Performance/FixedSize:
     - 'test/integration/api_test/issues_test.rb'
     - 'test/integration/attachments_test.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Performance/RedundantEqualityComparisonBlock:
   Exclude:
     - 'app/models/query.rb'
@@ -546,19 +546,19 @@ Performance/RedundantEqualityComparisonBlock:
     - 'lib/redmine/field_format.rb'
     - 'test/integration/api_test/issues_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Performance/RedundantMatch:
   Exclude:
     - 'app/models/issue_relation.rb'
     - 'lib/redmine/wiki_formatting/textile/formatter.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Performance/RedundantSplitRegexpArgument:
   Exclude:
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Performance/StringInclude:
   Exclude:
     - 'test/functional/versions_controller_test.rb'
@@ -566,13 +566,13 @@ Performance/StringInclude:
     - 'test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb'
     - 'test/unit/lib/redmine/wiki_formatting/macros_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: OnlySumOrWithInitialValue.
 Performance/Sum:
   Exclude:
     - 'app/helpers/issues_helper.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Include.
 # Include: app/models/**/*.rb
 Rails/ActiveRecordCallbacksOrder:
@@ -597,30 +597,30 @@ Rails/ActiveRecordOverride:
     - 'app/models/issue.rb'
     - 'app/models/member.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/ApplicationController:
   Exclude:
     - 'app/controllers/mail_handler_controller.rb'
     - 'app/controllers/sys_controller.rb'
     - 'test/unit/lib/redmine/hook_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/ApplicationMailer:
   Exclude:
     - 'app/models/mail_handler.rb'
     - 'app/models/mailer.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/ApplicationRecord:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Include.
 # Include: **/test/**/*
 Rails/AssertNot:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: NilOrEmpty, NotPresent, UnlessPresent.
 Rails/Blank:
   Exclude:
@@ -637,7 +637,7 @@ Rails/Blank:
     - 'lib/redmine/field_format.rb'
     - 'lib/redmine/wiki_formatting/macros.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/ContentTag:
   Exclude:
     - 'lib/redmine/wiki_formatting/markdown/formatter.rb'
@@ -652,7 +652,7 @@ Rails/CreateTableWithTimestamps:
 Rails/Date:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforceForPrefixed.
 Rails/Delegate:
   Exclude:
@@ -670,7 +670,7 @@ Rails/Delegate:
     - 'app/models/wiki_content_version.rb'
     - 'lib/redmine/menu_manager.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 # Configuration parameters: Whitelist, AllowedMethods, AllowedReceivers.
 # Whitelist: find_by_sql
 # AllowedMethods: find_by_sql
@@ -678,7 +678,7 @@ Rails/Delegate:
 Rails/DynamicFindBy:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/EagerEvaluationLogMessage:
   Exclude:
     - 'app/controllers/application_controller.rb'
@@ -691,7 +691,7 @@ Rails/Exit:
     - 'config/initializers/10-patches.rb'
     - 'config/routes.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Include, IgnoredMethods.
 # Include: app/models/**/*.rb
 # IgnoredMethods: order, limit, select, lock
@@ -741,7 +741,7 @@ Rails/HasManyOrHasOneDependent:
     - 'app/models/wiki.rb'
     - 'app/models/wiki_page.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: numeric, symbolic
 Rails/HttpStatus:
@@ -805,23 +805,23 @@ Rails/LexicallyScopedActionFilter:
   Exclude:
     - 'app/controllers/projects_controller.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/LinkToBlank:
   Exclude:
     - 'app/helpers/avatars_helper.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Include.
 # Include: config/routes.rb, config/routes/**/*.rb
 Rails/MatchRoute:
   Exclude:
     - 'config/routes.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Rails/NegateInclude:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Include.
 # Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
 Rails/Output:
@@ -834,13 +834,13 @@ Rails/Output:
 Rails/OutputSafety:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/Pluck:
   Exclude:
     - 'app/helpers/versions_helper.rb'
     - 'test/unit/query_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/PluralizationGrammar:
   Exclude:
     - 'lib/redmine/helpers/time_report.rb'
@@ -848,7 +848,7 @@ Rails/PluralizationGrammar:
     - 'test/unit/mailer_test.rb'
     - 'test/unit/query_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/Presence:
   Exclude:
     - 'app/controllers/activities_controller.rb'
@@ -862,12 +862,12 @@ Rails/Presence:
     - 'lib/redmine/scm/adapters/mercurial_adapter.rb'
     - 'lib/redmine/sort_criteria.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: NotNilAndNotEmpty, NotBlank, UnlessBlank.
 Rails/Present:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Include.
 # Include: app/models/**/*.rb
 Rails/ReadWriteAttribute:
@@ -877,7 +877,7 @@ Rails/ReadWriteAttribute:
     - 'app/models/repository/git.rb'
     - 'app/models/user_preference.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/RedundantForeignKey:
   Exclude:
     - 'app/models/changeset.rb'
@@ -885,7 +885,7 @@ Rails/RedundantForeignKey:
     - 'app/models/query.rb'
     - 'app/models/role.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Include.
 # Include: spec/**/*.rb, test/**/*.rb
 Rails/RedundantTravelBack:
@@ -898,7 +898,7 @@ Rails/ReflectionClassName:
     - 'lib/redmine/nested_set/issue_nested_set.rb'
     - 'lib/redmine/nested_set/project_nested_set.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, Include.
 # SupportedStyles: assert_not, refute
 # Include: **/test/**/*
@@ -912,7 +912,7 @@ Rails/RefuteMethods:
     - 'test/unit/custom_field_test.rb'
     - 'test/unit/lib/redmine/project_jump_box_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: conservative, aggressive
 Rails/ShortI18n:
@@ -930,19 +930,19 @@ Rails/ShortI18n:
 Rails/SkipsModelValidations:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: strict, flexible
 Rails/TimeZone:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Include.
 # Include: app/models/**/*.rb
 Rails/Validation:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/WhereEquals:
   Exclude:
     - 'app/models/group.rb'
@@ -959,7 +959,7 @@ Rails/WhereEquals:
     - 'lib/redmine/helpers/gantt.rb'
     - 'test/functional/issues_controller_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: exists, where
 Rails/WhereExists:
@@ -977,7 +977,7 @@ Rails/WhereExists:
     - 'test/unit/project_test.rb'
     - 'test/unit/workflow_transition_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Rails/WhereNot:
   Exclude:
     - 'app/models/import.rb'
@@ -993,7 +993,7 @@ Security/Eval:
     - 'app/models/user.rb'
     - 'config/initializers/00-core_plugins.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Security/IoMethods:
   Exclude:
     - 'Gemfile'
@@ -1005,14 +1005,14 @@ Security/Open:
   Exclude:
     - 'app/models/version.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Security/YAMLLoad:
   Exclude:
     - 'Gemfile'
     - 'app/models/setting.rb'
     - 'lib/redmine/configuration.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: separated, grouped
 Style/AccessorGrouping:
@@ -1021,7 +1021,7 @@ Style/AccessorGrouping:
     - 'lib/redmine/diff.rb'
     - 'lib/redmine/helpers/gantt.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: prefer_alias, prefer_alias_method
 Style/Alias:
@@ -1044,7 +1044,7 @@ Style/Alias:
     - 'lib/redmine/wiki_formatting/markdown/formatter.rb'
     - 'lib/redmine/wiki_formatting/textile/formatter.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: always, conditionals
 Style/AndOr:
@@ -1064,14 +1064,14 @@ Style/AndOr:
     - 'lib/redmine/scm/adapters/subversion_adapter.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: percent_q, bare_percent
 Style/BarePercentLiterals:
   Exclude:
     - 'test/integration/api_test/api_test.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Style/CaseLikeIf:
   Exclude:
     - 'app/controllers/wiki_controller.rb'
@@ -1093,20 +1093,20 @@ Style/CaseLikeIf:
     - 'lib/redmine/scm/adapters/cvs_adapter.rb'
     - 'lib/redmine/scm/adapters/git_adapter.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: nested, compact
 Style/ClassAndModuleChildren:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: IgnoredMethods.
 # IgnoredMethods: ==, equal?, eql?
 Style/ClassEqualityComparison:
   Exclude:
     - 'app/models/principal.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/ClassMethods:
   Exclude:
     - 'lib/redmine/string_array_diff/diff.rb'
@@ -1133,14 +1133,14 @@ Style/ClassVars:
     - 'lib/redmine/wiki_formatting/markdown/formatter.rb'
     - 'test/helpers/activities_helper_test.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Style/CollectionCompact:
   Exclude:
     - 'app/controllers/issues_controller.rb'
     - 'app/controllers/projects_controller.rb'
     - 'lib/redmine/sudo_mode.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/ColonMethodCall:
   Exclude:
     - 'app/controllers/admin_controller.rb'
@@ -1157,7 +1157,7 @@ Style/CombinableLoops:
     - 'app/models/wiki_annotate.rb'
     - 'lib/redmine/default_data/loader.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
 # SupportedStyles: assign_to_condition, assign_inside_condition
 Style/ConditionalAssignment:
@@ -1171,7 +1171,7 @@ Style/DocumentDynamicEvalDefinition:
 Style/Documentation:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: allowed_in_returns, forbidden
 Style/DoubleNegation:
@@ -1182,7 +1182,7 @@ Style/DoubleNegation:
     - 'app/models/user.rb'
     - 'lib/redmine/sudo_mode.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/EachWithObject:
   Exclude:
     - 'app/controllers/repositories_controller.rb'
@@ -1205,35 +1205,35 @@ Style/EachWithObject:
     - 'lib/redmine/sort_criteria.rb'
     - 'test/test_helper.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/EmptyCaseCondition:
   Exclude:
     - 'app/models/auth_source_ldap.rb'
     - 'app/models/issue_priority.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: empty, nil, both
 Style/EmptyElse:
   Exclude:
     - 'app/models/mail_handler.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: compact, expanded
 Style/EmptyMethod:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/EvalWithLocation:
   Exclude:
     - 'app/helpers/attachments_helper.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/ExpandPathArguments:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/ExplicitBlockArgument:
   Exclude:
     - 'app/models/board.rb'
@@ -1243,7 +1243,7 @@ Style/ExplicitBlockArgument:
     - 'lib/redmine/scm/adapters/subversion_adapter.rb'
     - 'test/test_helper.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: format, sprintf, percent
 Style/FormatString:
@@ -1264,7 +1264,7 @@ Style/GlobalVars:
 Style/GuardClause:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: braces, no_braces
 Style/HashAsLastArrayItem:
@@ -1272,7 +1272,7 @@ Style/HashAsLastArrayItem:
     - 'app/controllers/enumerations_controller.rb'
     - 'app/models/board.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 # Configuration parameters: AllowedReceivers.
 Style/HashEachMethods:
   Exclude:
@@ -1282,7 +1282,7 @@ Style/HashEachMethods:
     - 'test/functional/issues_custom_fields_visibility_test.rb'
     - 'test/unit/auth_source_ldap_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowIfModifier.
 Style/IfInsideElse:
   Exclude:
@@ -1304,16 +1304,16 @@ Style/IfInsideElse:
     - 'lib/redmine/scm/adapters/bazaar_adapter.rb'
     - 'lib/redmine/views/builders/structure.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/IfUnlessModifier:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/IfUnlessModifierOfIfUnless:
   Exclude:
     - 'app/models/attachment.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowedMethods.
 # AllowedMethods: nonzero?
 Style/IfWithBooleanLiteralBranches:
@@ -1324,7 +1324,7 @@ Style/IfWithBooleanLiteralBranches:
     - 'app/models/query.rb'
     - 'lib/redmine/field_format.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 # Configuration parameters: InverseMethods, InverseBlocks.
 Style/InverseMethods:
   Exclude:
@@ -1348,17 +1348,17 @@ Style/InverseMethods:
     - 'test/unit/issue_test.rb'
     - 'test/unit/query_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: line_count_dependent, lambda, literal
 Style/Lambda:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/LineEndConcatenation:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: IgnoredMethods.
 Style/MethodCallWithoutArgsParentheses:
   Exclude:
@@ -1373,7 +1373,7 @@ Style/MixinUsage:
   Exclude:
     - 'test/test_helper.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/MultilineIfModifier:
   Exclude:
     - 'app/helpers/attachments_helper.rb'
@@ -1390,13 +1390,13 @@ Style/MultilineIfModifier:
     - 'lib/redmine/wiki_formatting/links_helper.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/MultilineTernaryOperator:
   Exclude:
     - 'lib/redmine/ciphering.rb'
     - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowMethodComparison.
 Style/MultipleComparison:
   Exclude:
@@ -1404,13 +1404,13 @@ Style/MultipleComparison:
     - 'app/models/version.rb'
     - 'app/models/wiki_page.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: literals, strict
 Style/MutableConstant:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: both, prefix, postfix
 Style/NegatedIf:
@@ -1427,50 +1427,50 @@ Style/NegatedIf:
     - 'lib/redmine/string_array_diff/diff.rb'
     - 'lib/redmine/thumbnail.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/NegatedWhile:
   Exclude:
     - 'app/helpers/application_helper.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowedMethods.
 # AllowedMethods: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
 Style/NestedParenthesizedCalls:
   Exclude:
     - 'lib/redmine/views/labelled_form_builder.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/NestedTernaryOperator:
   Exclude:
     - 'app/helpers/queries_helper.rb'
     - 'app/models/journal.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, MinBodyLength.
 # SupportedStyles: skip_modifier_ifs, always
 Style/Next:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/Not:
   Exclude:
     - 'db/migrate/096_add_commit_access_permission.rb'
     - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedOctalStyle.
 # SupportedOctalStyles: zero_with_o, zero_only
 Style/NumericLiteralPrefix:
   Exclude:
     - 'test/unit/user_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: Strict, AllowedNumbers.
 Style/NumericLiterals:
   MinDigits: 9
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 # Configuration parameters: EnforcedStyle, IgnoredMethods.
 # SupportedStyles: predicate, comparison
 Style/NumericPredicate:
@@ -1481,7 +1481,7 @@ Style/NumericPredicate:
 Style/OptionalBooleanParameter:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/OrAssignment:
   Exclude:
     - 'app/helpers/sort_helper.rb'
@@ -1489,11 +1489,11 @@ Style/OrAssignment:
     - 'app/models/user.rb'
     - 'lib/redmine/helpers/diff.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/ParallelAssignment:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
 Style/ParenthesesAroundCondition:
   Exclude:
@@ -1501,22 +1501,22 @@ Style/ParenthesesAroundCondition:
     - 'lib/redmine/scm/adapters/cvs_adapter.rb'
     - 'lib/redmine/scm/adapters/git_adapter.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: PreferredDelimiters.
 Style/PercentLiteralDelimiters:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/PerlBackrefs:
   Enabled: false
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: short, verbose
 Style/PreferredHashMethods:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/Proc:
   Exclude:
     - 'app/models/attachment.rb'
@@ -1537,7 +1537,7 @@ Style/Proc:
     - 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
     - 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: same_as_string_literals, single_quotes, double_quotes
 Style/QuotedSymbols:
@@ -1545,7 +1545,7 @@ Style/QuotedSymbols:
     - 'test/functional/timelog_controller_test.rb'
     - 'test/unit/lib/redmine/i18n_test.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 # Configuration parameters: Methods.
 Style/RedundantArgument:
   Exclude:
@@ -1554,7 +1554,7 @@ Style/RedundantArgument:
     - 'test/functional/projects_controller_test.rb'
     - 'test/unit/issue_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantAssignment:
   Exclude:
     - 'app/models/mail_handler.rb'
@@ -1564,7 +1564,7 @@ Style/RedundantAssignment:
     - 'lib/redmine/wiki_formatting.rb'
     - 'lib/redmine/wiki_formatting/markdown/formatter.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantBegin:
   Exclude:
     - 'app/controllers/issues_controller.rb'
@@ -1577,14 +1577,14 @@ Style/RedundantBegin:
     - 'test/unit/project_nested_set_concurrency_test.rb'
     - 'test/unit/query_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantCondition:
   Exclude:
     - 'app/controllers/messages_controller.rb'
     - 'app/controllers/previews_controller.rb'
     - 'app/models/issue.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantConditional:
   Exclude:
     - 'app/controllers/workflows_controller.rb'
@@ -1592,7 +1592,7 @@ Style/RedundantConditional:
     - 'app/models/enumeration.rb'
     - 'lib/redmine/field_format.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantInterpolation:
   Exclude:
     - 'app/helpers/my_helper.rb'
@@ -1606,7 +1606,7 @@ Style/RedundantInterpolation:
     - 'test/functional/versions_controller_test.rb'
     - 'test/functional/watchers_controller_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantParentheses:
   Exclude:
     - 'app/controllers/search_controller.rb'
@@ -1621,48 +1621,48 @@ Style/RedundantParentheses:
     - 'test/unit/user_test.rb'
     - 'test/unit/version_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantRegexpCharacterClass:
   Exclude:
     - 'app/helpers/application_helper.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantRegexpEscape:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowMultipleReturnValues.
 Style/RedundantReturn:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantSelf:
   Enabled: false
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Style/RedundantSelfAssignment:
   Exclude:
     - 'lib/redmine/menu_manager.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RedundantSelfAssignmentBranch:
   Exclude:
     - 'lib/redmine/scm/adapters/cvs_adapter.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Style/RedundantSort:
   Exclude:
     - 'lib/redmine/scm/adapters/abstract_adapter.rb'
     - 'test/functional/issues_controller_test.rb'
     - 'test/unit/member_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
 # SupportedStyles: slashes, percent_r, mixed
 Style/RegexpLiteral:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/RescueModifier:
   Exclude:
     - 'app/helpers/avatars_helper.rb'
@@ -1676,25 +1676,25 @@ Style/RescueModifier:
     - 'lib/redmine/wiki_formatting.rb'
     - 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: implicit, explicit
 Style/RescueStandardError:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods.
 # AllowedMethods: present?, blank?, presence, try, try!
 Style/SafeNavigation:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/SelectByRegexp:
   Exclude:
     - 'app/models/user.rb'
     - 'test/application_system_test_case.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/SelfAssignment:
   Exclude:
     - 'app/controllers/repositories_controller.rb'
@@ -1707,7 +1707,7 @@ Style/SelfAssignment:
     - 'lib/redmine/helpers/gantt.rb'
     - 'lib/redmine/helpers/time_report.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowAsExpressionSeparator.
 Style/Semicolon:
   Exclude:
@@ -1724,12 +1724,12 @@ Style/Semicolon:
     - 'lib/redmine/sort_criteria.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowIfMethodIsEmpty.
 Style/SingleLineMethods:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowModifier.
 Style/SoleNestedConditional:
   Exclude:
@@ -1753,35 +1753,35 @@ Style/SoleNestedConditional:
     - 'app/models/wiki_page.rb'
     - 'app/validators/date_validator.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: RequireEnglish.
 # SupportedStyles: use_perl_names, use_english_names
 Style/SpecialGlobalVars:
   EnforcedStyle: use_perl_names
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/StderrPuts:
   Exclude:
     - 'config/environment.rb'
     - 'config/initializers/10-patches.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Style/StringChars:
   Exclude:
     - 'app/models/user.rb'
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 # Configuration parameters: Mode.
 Style/StringConcatenation:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
 # SupportedStyles: single_quotes, double_quotes
 Style/StringLiterals:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: single_quotes, double_quotes
 Style/StringLiteralsInInterpolation:
@@ -1793,31 +1793,31 @@ Style/StringLiteralsInInterpolation:
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
     - 'test/unit/member_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/StructInheritance:
   Exclude:
     - 'lib/redmine/notifiable.rb'
     - 'lib/redmine/sudo_mode.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: MinSize.
 # SupportedStyles: percent, brackets
 Style/SymbolArray:
   EnforcedStyle: brackets
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 # Configuration parameters: AllowMethodsWithArguments, IgnoredMethods.
 # IgnoredMethods: respond_to, define_method
 Style/SymbolProc:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
 # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
 Style/TernaryParentheses:
   Enabled: false
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
 # AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
 Style/TrivialAccessors:
@@ -1832,7 +1832,7 @@ Style/TrivialAccessors:
     - 'lib/redmine/scm/adapters/git_adapter.rb'
     - 'lib/redmine/scm/adapters/mercurial_adapter.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/UnlessElse:
   Exclude:
     - 'app/controllers/auth_sources_controller.rb'
@@ -1840,18 +1840,18 @@ Style/UnlessElse:
     - 'lib/redmine/diff_table.rb'
     - 'lib/redmine/scm/adapters/abstract_adapter.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 Style/VariableInterpolation:
   Exclude:
     - 'lib/redmine/configuration.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: EnforcedStyle, MinSize, WordRegex.
 # SupportedStyles: percent, brackets
 Style/WordArray:
   Enabled: false
 
-# Cop supports --auto-correct-all.
+# This cop supports unsafe auto-correction (--auto-correct-all).
 Style/ZeroLengthPredicate:
   Exclude:
     - 'app/models/import.rb'
@@ -1865,7 +1865,7 @@ Style/ZeroLengthPredicate:
     - 'test/unit/activity_test.rb'
     - 'test/unit/custom_field_test.rb'
 
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
 # URISchemes: http, https
 Layout/LineLength:
diff --git a/Gemfile b/Gemfile
index ce139923038562a81d64247b3d1fd592ed2ae0dc..dc0a7944cfc45d06e845924fc205a98d70ae0475 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -100,7 +100,7 @@ group :test do
   gem "selenium-webdriver", "~> 3.142.7"
   gem 'webdrivers', '4.6.1', require: false
   # RuboCop
-  gem 'rubocop', '~> 1.25.0'
+  gem 'rubocop', '~> 1.26.0'
   gem 'rubocop-performance', '~> 1.13.0'
   gem 'rubocop-rails', '~> 2.13.0'
 end