summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2020-04-14 20:55:34 +0000
committerAndrew Dunstan2020-04-14 20:55:34 +0000
commit0516f94d18c57cc5dce72ff8fb84a05d24a67063 (patch)
tree37273429b34aade525bb9dba80d90fc2f11038e0
parente60c6f6ea17b50833242653fe2781f6d47429540 (diff)
Stop requiring an explicit return from perl subroutines
The consensus of the project appears to be that this provides little benefit and is simply an annoyance. Discussion: https://postgr.es/m/[email protected]
-rw-r--r--src/tools/perlcheck/perlcriticrc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/perlcheck/perlcriticrc b/src/tools/perlcheck/perlcriticrc
index 314c83c6a5..e230111b23 100644
--- a/src/tools/perlcheck/perlcriticrc
+++ b/src/tools/perlcheck/perlcriticrc
@@ -22,7 +22,3 @@ verbose = %f: %m at line %l, column %c. %e. ([%p] Severity: %s)\n
# insist on use of the warnings pragma
[TestingAndDebugging::RequireUseWarnings]
severity = 5
-
-# for now raise severity of this to level 5
-[Subroutines::RequireFinalReturn]
-severity = 5