From cb456583639dfbeb36709ae1734ca0803aeb1b5e Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 4 Mar 2026 02:38:13 +0000 Subject: [PATCH] Bug 38365: Replace `use strict; use warnings;` with `use Modern::Perl` --- t/Koha/Middleware/ContentSecurityPolicy.t | 3 +-- t/db_dependent/Koha/Middleware/ContentSecurityPolicy.t | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/t/Koha/Middleware/ContentSecurityPolicy.t b/t/Koha/Middleware/ContentSecurityPolicy.t index d4b41d77aa4..38164b49161 100755 --- a/t/Koha/Middleware/ContentSecurityPolicy.t +++ b/t/Koha/Middleware/ContentSecurityPolicy.t @@ -18,8 +18,7 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; use Test::NoWarnings; use Test::More tests => 3; use Test::Warn; diff --git a/t/db_dependent/Koha/Middleware/ContentSecurityPolicy.t b/t/db_dependent/Koha/Middleware/ContentSecurityPolicy.t index 7d12f3cd9c4..f451af93719 100755 --- a/t/db_dependent/Koha/Middleware/ContentSecurityPolicy.t +++ b/t/db_dependent/Koha/Middleware/ContentSecurityPolicy.t @@ -18,8 +18,7 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; use Test::NoWarnings; use Test::More tests => 5; -- 2.39.5