diff --git a/config/reek.yml b/config/reek.yml index eb632e2d..2bcd8d8d 100644 --- a/config/reek.yml +++ b/config/reek.yml @@ -54,6 +54,7 @@ NestedIterators: - Mutant::Reporter::CLI::Printer::Config::Runner#generic_stats - Mutant::RequireHighjack#infect - Mutant::RequireHighjack#desinfect + - Parser::Lexer#self.new max_allowed_nesting: 1 ignore_iterators: [] NilCheck: @@ -126,7 +127,7 @@ UncommunicativeVariableName: - !ruby/regexp /^.$/ - !ruby/regexp /[0-9]$/ - !ruby/regexp /[A-Z]/ - accept: [] + accept: ['force_utf32'] UnusedParameters: enabled: true exclude: [] diff --git a/lib/mutant/mutator/node/match_current_line.rb b/lib/mutant/mutator/node/match_current_line.rb index a65e995d..57bc73bf 100644 --- a/lib/mutant/mutator/node/match_current_line.rb +++ b/lib/mutant/mutator/node/match_current_line.rb @@ -1,6 +1,7 @@ module Mutant class Mutator class Node + # Emitter for perl style match current line node class MatchCurrentLine < self handle :match_current_line