[Koha-bugs] [Bug 15258] Prevent unused declared variables

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 30 17:57:21 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15258

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45179|0                           |1
        is obsolete|                            |

--- Comment #4 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 45232
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45232&action=edit
[SIGNED-OFF]Bug 15258: Prevent unused declared variables

Add a perlcritic rule to 00-perlcritic.t to prevent unused declared
variable.

TO TEST:

- Apply the 1st patch (unit test)
- Run the UT:
  prove -v t/00-testcritic.t
- Note that several Perl script fail
- Apply the 2nd patch
- Run the UT, and confirm it passes.

Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
All tests pass successful.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list