]> git.koha-community.org Git - koha.git/commit
Bug 33341: Address some perlcritic errors in 5.36
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Mar 2023 12:17:31 +0000 (14:17 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 24 Apr 2023 17:16:12 +0000 (17:16 +0000)
commit548a3325baefe0b700d9386f9fc05e201e56ea4f
tree1eb371187a82ab75a769532ea0c791e6266adff4
parentd98074a74730222f127b2ab53e131cc11faec14a
Bug 33341: Address some perlcritic errors in 5.36

Some old-style code is making our tests fail when run in Debian Testing.

This patch addresses this.

To test:
1. Launch bookworm KTD:
   $ KOHA_IMAGE=master-bookworm ktd up -d
2. Run:
   $ ktd --shell
  k$ prove t/00-testcritic.t
=> FAIL: It fails!
3. Apply the patch
4. Repeat 2
=> SUCCESS: Tests now pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 10d12f999f9b8bff228c9c20f1ca4f0c7144201f)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit c1c5420afae84e86938d4a7ecaf2adb7074a2cc1)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
13 files changed:
C4/Installer.pm
C4/Koha.pm
C4/Languages.pm
C4/Ris.pm
Koha/AuthUtils.pm
admin/auth_subfields_structure.pl
admin/marc_subfields_structure.pl
installer/install.pl
misc/maintenance/generate_MARC21Languages.pl
misc/translator/tmpl_process3.pl
misc/translator/xgettext.pl
tools/access_files.pl
tools/picture-upload.pl