From b7d26238755e1094533bb2d5cbff4d05a408db7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Tue, 13 Aug 2024 15:11:32 +0200 Subject: [PATCH] Make exceptions for perlcritic RedundantStrictWarning --- lib/OpenQA/Schema/Result/JobNextPrevious.pm | 2 +- lib/OpenQA/Schema/Result/Needles.pm | 1 + lib/OpenQA/Schema/Result/ScheduledProducts.pm | 2 +- lib/OpenQA/WebAPI/Controller/Admin/AuditLog.pm | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/OpenQA/Schema/Result/JobNextPrevious.pm b/lib/OpenQA/Schema/Result/JobNextPrevious.pm index 83f7f7b3b3d7..ad0923252465 100644 --- a/lib/OpenQA/Schema/Result/JobNextPrevious.pm +++ b/lib/OpenQA/Schema/Result/JobNextPrevious.pm @@ -3,7 +3,7 @@ package OpenQA::Schema::Result::JobNextPrevious; - +## no critic (OpenQA::RedundantStrictWarning) use Mojo::Base 'DBIx::Class::Core'; use Moose; diff --git a/lib/OpenQA/Schema/Result/Needles.pm b/lib/OpenQA/Schema/Result/Needles.pm index 1d1564365b78..d341c716e8a2 100644 --- a/lib/OpenQA/Schema/Result/Needles.pm +++ b/lib/OpenQA/Schema/Result/Needles.pm @@ -3,6 +3,7 @@ package OpenQA::Schema::Result::Needles; +## no critic (OpenQA::RedundantStrictWarning) use 5.018; use Mojo::Base 'DBIx::Class::Core', -signatures; diff --git a/lib/OpenQA/Schema/Result/ScheduledProducts.pm b/lib/OpenQA/Schema/Result/ScheduledProducts.pm index f5dd31f0ca58..29a3023b9d8a 100644 --- a/lib/OpenQA/Schema/Result/ScheduledProducts.pm +++ b/lib/OpenQA/Schema/Result/ScheduledProducts.pm @@ -3,7 +3,7 @@ package OpenQA::Schema::Result::ScheduledProducts; - +## no critic (OpenQA::RedundantStrictWarning) use Mojo::Base 'DBIx::Class::Core', -signatures; use Mojo::Base -base, -signatures; diff --git a/lib/OpenQA/WebAPI/Controller/Admin/AuditLog.pm b/lib/OpenQA/WebAPI/Controller/Admin/AuditLog.pm index 436824d0d481..3f47b6e57869 100644 --- a/lib/OpenQA/WebAPI/Controller/Admin/AuditLog.pm +++ b/lib/OpenQA/WebAPI/Controller/Admin/AuditLog.pm @@ -3,6 +3,7 @@ package OpenQA::WebAPI::Controller::Admin::AuditLog; +## no critic (OpenQA::RedundantStrictWarning) use Mojo::Base 'Mojolicious::Controller'; use 5.018;