Grinnz/Perl-Critic-Community

Allow for statement modifiers in EmptyReturn

Closed this issue · 0 comments

EmptyReturn currently does not catch statements like return if $foo; This should be doable, it just needs to return the violation if the next element is a perl builtin which is a statement modifier.