From: Noah Misch Date: Sun, 24 Oct 2021 02:36:26 +0000 (-0700) Subject: Back-patch "Stop requiring an explicit return from perl subroutines" X-Git-Tag: REL_11_14~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31d99bc794a634e3f1b648cf3e71cdbc39eb2fa1;p=thirdparty%2Fpostgresql.git Back-patch "Stop requiring an explicit return from perl subroutines" Back-patch commit 0516f94d18c57cc5dce72ff8fb84a05d24a67063 to v12 and v11. Other back-patches will bring in code written to later standards. Per buildfarm member crake. --- diff --git a/src/tools/perlcheck/perlcriticrc b/src/tools/perlcheck/perlcriticrc index 12c09a453e7..11f479a5a18 100644 --- a/src/tools/perlcheck/perlcriticrc +++ b/src/tools/perlcheck/perlcriticrc @@ -12,7 +12,3 @@ theme = core # allow octal constants with leading zeros [-ValuesAndExpressions::ProhibitLeadingZeros] - -# for now raise severity of this to level 5 -[Subroutines::RequireFinalReturn] -severity = 5