Replace Hash#merge! with Hash#[]= (#34160).

git-svn-id: http://svn.redmine.org/redmine/trunk@20175 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-10-24 05:33:23 +00:00
parent 52cc3fdc24
commit b46953247d
12 changed files with 30 additions and 46 deletions

View File

@@ -564,22 +564,6 @@ Performance/RedundantMatch:
- 'lib/redmine/wiki_formatting/textile/formatter.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
# Cop supports --auto-correct.
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge:
Exclude:
- 'app/controllers/issues_controller.rb'
- 'app/helpers/application_helper.rb'
- 'app/helpers/avatars_helper.rb'
- 'app/helpers/custom_fields_helper.rb'
- 'app/helpers/workflows_helper.rb'
- 'app/models/auth_source_ldap.rb'
- 'app/models/principal.rb'
- 'lib/redmine/access_control.rb'
- 'test/functional/imports_controller_test.rb'
- 'test/unit/issue_import_test.rb'
- 'test/unit/time_entry_import_test.rb'
# Cop supports --auto-correct.
Performance/Squeeze:
Exclude: