@@ -, +, @@ --- xt/author/podcorrectness.t | 4 +--- xt/author/show-template-structure.pl | 3 +-- xt/author/translatable-templates.t | 4 +--- xt/author/valid-templates.t | 3 +-- xt/find-license-problems | 3 +-- xt/fix-old-fsf-address | 3 +-- xt/single_quotes.t | 3 +-- xt/verify-debian-docbook.t | 4 +--- 8 files changed, 8 insertions(+), 19 deletions(-) --- a/xt/author/podcorrectness.t +++ a/xt/author/podcorrectness.t @@ -1,7 +1,5 @@ #!/usr/bin/env perl -use strict; -use warnings; - +use Modern::Perl; =head2 podcorrectness.t This test file checks all perl modules in the C4 directory for POD --- a/xt/author/show-template-structure.pl +++ a/xt/author/show-template-structure.pl @@ -17,8 +17,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; =head1 NAME --- a/xt/author/translatable-templates.t +++ a/xt/author/translatable-templates.t @@ -15,9 +15,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; =head2 translate-templates.t This test verifies that all staff and OPAC template --- a/xt/author/valid-templates.t +++ a/xt/author/valid-templates.t @@ -17,8 +17,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; =head1 NAME --- a/xt/find-license-problems +++ a/xt/find-license-problems @@ -24,8 +24,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -use strict; -use warnings; +use Modern::Perl; use File::Find; --- a/xt/fix-old-fsf-address +++ a/xt/fix-old-fsf-address @@ -27,8 +27,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -use strict; -use warnings; +use Modern::Perl; use File::Basename; use File::Copy; --- a/xt/single_quotes.t +++ a/xt/single_quotes.t @@ -17,8 +17,7 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use warnings; -use strict; +use Modern::Perl; use Test::More tests => 1; use File::Find; --- a/xt/verify-debian-docbook.t +++ a/xt/verify-debian-docbook.t @@ -20,9 +20,7 @@ # This runs 'xmllint' (part of libxml2-utils) over each xml file that # generates the koha-common man pages and ensures they're correct. -use strict; -use warnings; - +use Modern::Perl; use Test::More qw(no_plan); my $doc_dir = 'debian/docs'; --