[Koha-bugs] [Bug 33341] Perl 5.36 doesn't consider some of our code cool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 27 14:27:34 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33341

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 148763
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148763&action=edit
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 at theke.io>

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


More information about the Koha-bugs mailing list