From 31a51e95c0b3951711312e527dd9a5b53fd3832d Mon Sep 17 00:00:00 2001 From: haszi Date: Sat, 22 Nov 2025 20:56:11 +0100 Subject: [PATCH] Do not check entities files for XML validity as these are never valid on their own --- scripts/broken.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/broken.php b/scripts/broken.php index 8908786487..6d664441c4 100644 --- a/scripts/broken.php +++ b/scripts/broken.php @@ -177,7 +177,8 @@ function testDir( string $dir ) continue; } - if ( str_ends_with( $fullpath , ".xml" ) ) + if (!basename( $fullpath ) === "entities." + && str_ends_with( $fullpath , ".xml" ) ) testFile( $fullpath , $fragment ); }