From da034e182eb99c298d5621a2d132f2725215acc4 Mon Sep 17 00:00:00 2001 From: PurHur Date: Sat, 25 Jul 2026 23:35:59 +0000 Subject: [PATCH] Chore: drop stale mb/DOM/grapheme maintainer_gap repros for closed issues Compliance .phpt guards already cover #21458, #20776, #17609, and #22661. Co-authored-by: Cursor --- .../grapheme_levenshtein_missing.php | 10 ---- ..._schema_validate_missing_libxml_errors.php | 49 ------------------- ...ainer_gap_mb_ucfirst_forward84_missing.php | 27 ---------- ...ainer_gap_mb_ucwords_missing_forward84.php | 10 ---- 4 files changed, 96 deletions(-) delete mode 100644 test/repro-maintainer/grapheme_levenshtein_missing.php delete mode 100644 test/repro/maintainer_gap_dom_schema_validate_missing_libxml_errors.php delete mode 100644 test/repro/maintainer_gap_mb_ucfirst_forward84_missing.php delete mode 100644 test/repro/maintainer_gap_mb_ucwords_missing_forward84.php diff --git a/test/repro-maintainer/grapheme_levenshtein_missing.php b/test/repro-maintainer/grapheme_levenshtein_missing.php deleted file mode 100644 index b6b86b6610..0000000000 --- a/test/repro-maintainer/grapheme_levenshtein_missing.php +++ /dev/null @@ -1,10 +0,0 @@ -loadXML(''); - -$warnings = []; -set_error_handler(static function (int $severity, string $message) use (&$warnings): bool { - $warnings[] = $message; - return true; -}); - -$schemaOk = $doc->schemaValidate('/tmp/definitely-missing-schema-xyz.xsd'); -$schemaWarnings = $warnings; -$schemaErrors = libxml_get_errors(); - -$warnings = []; -libxml_clear_errors(); -$relaxOk = $doc->relaxNGValidate('/tmp/definitely-missing-relaxng-xyz.rng'); -restore_error_handler(); -$relaxWarnings = $warnings; -$relaxErrors = libxml_get_errors(); - -echo 'schema_ok=' . ($schemaOk ? '1' : '0') . "\n"; -echo 'schema_php=' . count($schemaWarnings) . "\n"; -if (isset($schemaWarnings[0])) { - echo 'schema_w0=' . $schemaWarnings[0] . "\n"; -} -echo 'schema_libxml=' . count($schemaErrors) . "\n"; -if (isset($schemaErrors[0], $schemaErrors[1])) { - echo 'schema_e0=' . $schemaErrors[0]->level . ':' . $schemaErrors[0]->code . ':' . trim($schemaErrors[0]->message) . "\n"; - echo 'schema_e1=' . $schemaErrors[1]->level . ':' . $schemaErrors[1]->code . ':' . trim($schemaErrors[1]->message) . "\n"; -} - -echo 'relax_ok=' . ($relaxOk ? '1' : '0') . "\n"; -echo 'relax_php=' . count($relaxWarnings) . "\n"; -if (isset($relaxWarnings[0])) { - echo 'relax_w0=' . $relaxWarnings[0] . "\n"; -} -echo 'relax_libxml=' . count($relaxErrors) . "\n"; -if (isset($relaxErrors[0], $relaxErrors[1])) { - echo 'relax_e0=' . $relaxErrors[0]->level . ':' . $relaxErrors[0]->code . ':' . trim($relaxErrors[0]->message) . "\n"; - echo 'relax_e1=' . $relaxErrors[1]->level . ':' . $relaxErrors[1]->code . ':' . trim($relaxErrors[1]->message) . "\n"; -} diff --git a/test/repro/maintainer_gap_mb_ucfirst_forward84_missing.php b/test/repro/maintainer_gap_mb_ucfirst_forward84_missing.php deleted file mode 100644 index 3cecbb7683..0000000000 --- a/test/repro/maintainer_gap_mb_ucfirst_forward84_missing.php +++ /dev/null @@ -1,27 +0,0 @@ -