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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 26 08:31:03 CET 2015


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

Frédéric Demians <frederic at tamil.fr> changed:

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

--- Comment #3 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 45179
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45179&action=edit
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.

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


More information about the Koha-bugs mailing list