]> 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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 3 May 2023 19:03:35 +0000 (21:03 +0200)
commit92ad549936eaf61f402366160e6b3fc685a88f2c
treef8cbfdd5973ae9bc7cb3d093808b3e9cabdaaa03
parent5402be60e25ebfe4e0b3b6a8d21283744b14bfd3
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>
(cherry picked from commit 548a3325baefe0b700d9386f9fc05e201e56ea4f)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.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