Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0516f94

Browse files
committed
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/27481.1586618092@sss.pgh.pa.us
1 parent e60c6f6 commit 0516f94

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/tools/perlcheck/perlcriticrc

-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,3 @@ verbose = %f: %m at line %l, column %c. %e. ([%p] Severity: %s)\n
2222
# insist on use of the warnings pragma
2323
[TestingAndDebugging::RequireUseWarnings]
2424
severity = 5
25-
26-
# for now raise severity of this to level 5
27-
[Subroutines::RequireFinalReturn]
28-
severity = 5

0 commit comments

Comments
 (0)