aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2017-02-07 19:12:42 +0000
committerdakkar <dakkar@thenautilus.net>2017-02-07 19:12:42 +0000
commit681b26aa8d4124b312799bae69ae721c0ff41328 (patch)
treef8bec9e51c90cdae188938d61aea9cde99eb5ac5
parentstart using Pod::Weaver (diff)
downloadSietima-681b26aa8d4124b312799bae69ae721c0ff41328.tar.gz
Sietima-681b26aa8d4124b312799bae69ae721c0ff41328.tar.bz2
Sietima-681b26aa8d4124b312799bae69ae721c0ff41328.zip
don't criticise "prototypes"
Perl::Critic doesn't distinguish between prototypes and signatures, so let's disable the check
-rw-r--r--perlcritic.rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/perlcritic.rc b/perlcritic.rc
index 651ba52..be04a88 100644
--- a/perlcritic.rc
+++ b/perlcritic.rc
@@ -313,8 +313,9 @@ allow_import_of = utf8 strict warnings
# Behavior of `sort' is not defined if called in scalar context.
[Subroutines::ProhibitReturnSort]
+# we use signatures!
# Don't write `sub my_function (@@) {}'.
-[Subroutines::ProhibitSubroutinePrototypes]
+[-Subroutines::ProhibitSubroutinePrototypes]
severity = 2
# Prevent unused private subroutines.