[Koha-bugs] [Bug 6679] Fixing code so it passes basic Perl::Critic tests
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 26 15:07:30 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679
--- Comment #93 from Mason James <mtj at kohaaloha.com> ---
Created attachment 10491
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10491&action=edit
Bug 6679 - fix 11 perlcritic violations in C4/Dates.pm
- Subroutine prototypes used at line 82, column 1. See page 194 of PBP.
(Severity: 5)
- "return" statement with explicit "undef" at line 102, column 28. See page
199 of PBP. (Severity: 5)
- Expression form of "eval" at line 108, column 20. See page 161 of PBP.
(Severity: 5)
- Variable declared in conditional statement at line 126, column 5. Declare
variables outside of the condition. (Severity: 5)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list