From 632f7d8251dee85f09c969dddd356054b3b0bd46 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Wed, 21 Oct 2026 12:32:46 -0500 Subject: [PATCH] fix: point the phpunit schema at the vendored copy Infection validates phpunit.xml.dist against xsi:noNamespaceSchemaLocation before it runs a single mutant. With an https URL that validation is a network fetch, so the required mutation job fails whenever schema.phpunit.de is unreachable, which is what a 522 does. The URL also pinned the 13.1 series while this package installs a newer PHPUnit, so the schema no longer described the installed version even when the host was reachable. Use the relative path instead. It resolves inside the installed package, needs no network, and always matches the installed version. This is the value phpunit --generate-configuration writes itself: it prefers vendor/phpunit/phpunit/phpunit.xsd and only falls back to the URL when that file is absent. --- phpunit.xml.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 2178509..5833f9c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,6 @@