- New upstream release 1.124 - The ProhibitUnusedPrivateSubroutines policy can now ignore files that use particular modules with the 'skip_when_using' option, which allows, for example, skipping the policy for roles - The RequireUseStrict and RequireUseWarnings policies now regard Moose, Moo, Mouse, Dancer, Mojolicious, and several other modules as equivalent to the strict and warnings pragma - The RequireChecked* family of policies has been fixed to accommodate version numbers when use-ing the autodie pragma (GH #612) - Add patch to avoid the need for List::Util ≥ 1.33 (GH #626)epel9
parent
9cb9d512fd
commit
801b2accba
@ -0,0 +1,11 @@
|
|||||||
|
--- lib/Perl/Critic/Policy/Subroutines/ProhibitUnusedPrivateSubroutines.pm
|
||||||
|
+++ lib/Perl/Critic/Policy/Subroutines/ProhibitUnusedPrivateSubroutines.pm
|
||||||
|
@@ -7,7 +7,7 @@ use warnings;
|
||||||
|
|
||||||
|
use English qw< $EVAL_ERROR -no_match_vars >;
|
||||||
|
use Readonly;
|
||||||
|
-use List::Util qw(any);
|
||||||
|
+use List::MoreUtils qw(any);
|
||||||
|
|
||||||
|
use Perl::Critic::Utils qw{
|
||||||
|
:characters hashify is_function_call is_method_call :severities
|
Loading…
Reference in new issue