]> git.koha-community.org Git - koha.git/commit
Bug 6679: Fix 11 perlcritic violations in C4/Dates.pm
authorMason James <mtj@kohaaloha.com>
Tue, 26 Jun 2012 13:04:36 +0000 (01:04 +1200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 26 May 2015 13:42:06 +0000 (10:42 -0300)
commit2ee1a35dfa91892474a7d10f8783dd95edbe7696
tree390d8ddab68ccbe7110b60127e77466685fd123d
parentd7dc11e61fea5dcc3f0087e46b6eee8d74c21c63
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)

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Dates.pm