From d3c19223d8c9dbe99b290efe29b16117e3f0ef73 Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Wed, 12 Feb 2025 19:02:43 +0100 Subject: [PATCH] Bug 38664: Fix dbic: Revert changes to Schema.pm and add it to denylist It's autogenerated and checksum protected so should be touch only by dbic. --- Koha/Schema.pm | 3 ++- misc/devel/tidy.pl | 4 ++-- xt/perltidy.t | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Koha/Schema.pm b/Koha/Schema.pm index 874851a831..cffc631d5e 100644 --- a/Koha/Schema.pm +++ b/Koha/Schema.pm @@ -1,5 +1,4 @@ use utf8; - package Koha::Schema; # Created by DBIx::Class::Schema::Loader @@ -12,8 +11,10 @@ use base 'DBIx::Class::Schema'; __PACKAGE__->load_namespaces; + # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oDUxXckmfk6H9YCjW8PZTw + # You can replace this text with custom content, and it will be preserved on regeneration 1; diff --git a/misc/devel/tidy.pl b/misc/devel/tidy.pl index c3f22e635e..5d62c788c9 100755 --- a/misc/devel/tidy.pl +++ b/misc/devel/tidy.pl @@ -106,8 +106,8 @@ sub tidy { sub get_perl_files { my @files; - push @files, qx{git ls-files '*.pl' '*.pm' '*.t' ':(exclude)Koha/Schema/Result'}; - push @files, qx{git ls-files svc opac/svc}; # Files without extension + push @files, qx{git ls-files '*.pl' '*.pm' '*.t' ':(exclude)Koha/Schema/Result' ':(exclude)Koha/Schema.pm'}; + push @files, qx{git ls-files svc opac/svc}; # Files without extension chomp for @files; return @files; } diff --git a/xt/perltidy.t b/xt/perltidy.t index 8a6e352d7e..b570311aee 100755 --- a/xt/perltidy.t +++ b/xt/perltidy.t @@ -4,8 +4,8 @@ use Test::PerlTidy; use Test::More; my @files; -push @files, qx{git ls-files '*.pl' '*.pm' '*.t' ':(exclude)Koha/Schema/Result'}; -push @files, qx{git ls-files svc opac/svc}; # Files without extension +push @files, qx{git ls-files '*.pl' '*.pm' '*.t' ':(exclude)Koha/Schema/Result' ':(exclude)Koha/Schema.pm'}; +push @files, qx{git ls-files svc opac/svc}; # Files without extension plan tests => scalar @files; -- 2.48.1