From 105cbc89cd8c39495dc910dafc5256f622fa96fa Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 16 May 2020 18:44:04 +0900 Subject: [PATCH] Remove an unnecessary `minimum_target_ruby_version` Support for Ruby 2.3 or lower dropped by #103. --- lib/rubocop/cop/performance/regexp_match.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/rubocop/cop/performance/regexp_match.rb b/lib/rubocop/cop/performance/regexp_match.rb index 2c49efda96..daba057371 100644 --- a/lib/rubocop/cop/performance/regexp_match.rb +++ b/lib/rubocop/cop/performance/regexp_match.rb @@ -73,10 +73,6 @@ module Performance # end # end class RegexpMatch < Cop - extend TargetRubyVersion - - minimum_target_ruby_version 2.4 - # Constants are included in this list because it is unlikely that # someone will store `nil` as a constant and then use it for comparison TYPES_IMPLEMENTING_MATCH = %i[const regexp str sym].freeze