Fixes #19700 - update rubocop rules
The following changes have been made:
- Performance/RedundantMerge:changes lines such as:```not_found_message.merge! :message => options```to:```not_found_message[:message] = options```
- converts str.match() to str =~ ()- remove extra whitespaces etc.
Fixes #19700 - update rubocop rules
The following changes have been made:
- Performance/RedundantMerge:
changes lines such as:
```not_found_message.merge! :message => options```
to:
```not_found_message[:message] = options```
- converts str.match() to str =~ ()
- remove extra whitespaces etc.