Add new `Performance/UnfreezeString` cop by pocke · Pull Request #4586 · rubocop/rubocop

In Ruby 2.3 or later, String#+@ is available. This method unfreezes a string. str = 'foo'.freeze p str.frozen? # => true p (+str).frozen? # => false String#dup works similarly, but +@ is faster ...