@@ -, +, @@ "Signoff-off-by section") "Signoff-off-by section") --- Koha/Account/DebitType.pm | 5 ++++- Koha/AuthorisedValue.pm | 5 ++++- Koha/Patron/Attribute/Type.pm | 6 +++++- Koha/Patron/Category.pm | 7 ++++--- 4 files changed, 17 insertions(+), 6 deletions(-) --- a/Koha/Account/DebitType.pm +++ a/Koha/Account/DebitType.pm @@ -19,10 +19,13 @@ package Koha::Account::DebitType; use Modern::Perl; +use Koha::Object; +use Koha::Object::Limit::Library; use Koha::Database; use Koha::Exceptions; -use base qw(Koha::Object Koha::Object::Limit::Library); +# Bug 35959 - Avoid Inconsistent hierarchy warn by replacing use base line +push @Koha::Account::DebitType::ISA, qw(Koha::Object Koha::Object::Limit::Library); =head1 NAME --- a/Koha/AuthorisedValue.pm +++ a/Koha/AuthorisedValue.pm @@ -21,8 +21,11 @@ use Modern::Perl; use Koha::Caches; use Koha::Database; +use Koha::Object; +use Koha::Object::Limit::Library; -use base qw(Koha::Object Koha::Object::Limit::Library); +# Bug 35959 - Avoid Inconsistent hierarchy warn by replacing use base line +push @Koha::AuthorisedValue::ISA, qw(Koha::Object Koha::Object::Limit::Library); my $cache = Koha::Caches->get_instance(); --- a/Koha/Patron/Attribute/Type.pm +++ a/Koha/Patron/Attribute/Type.pm @@ -17,10 +17,14 @@ package Koha::Patron::Attribute::Type; use Modern::Perl; +use Koha::Object; +use Koha::Object::Limit::Library; + use Koha::Database; use Koha::Exceptions::Patron::Attribute::Type; -use base qw(Koha::Object Koha::Object::Limit::Library); +# Bug 35959 - Avoid Inconsistent hierarchy warn by replacing use base line +push @Koha::Patron::Attribute::Type::ISA, qw(Koha::Object Koha::Object::Limit::Library); =head1 NAME --- a/Koha/Patron/Category.pm +++ a/Koha/Patron/Category.pm @@ -16,15 +16,16 @@ package Koha::Patron::Category; # along with Koha; if not, see . use Modern::Perl; - use List::MoreUtils qw( any ); +use Koha::Object; +use Koha::Object::Limit::Library; use C4::Members::Messaging; - use Koha::Database; use Koha::DateUtils qw( dt_from_string ); -use base qw(Koha::Object Koha::Object::Limit::Library); +# Bug 35959 - Avoid Inconsistent hierarchy warn by replacing use base line +push @Koha::Patron::Category::ISA, qw(Koha::Object Koha::Object::Limit::Library); =head1 NAME --