The test job on main has been failing since the community health files merge on 2026-07-26, with the same three results every run, most recently confirmed against framework 2.0:
1) Tests\public\IndexTest::testIndex
Error: Call to undefined function Tests\public\xdebug_get_headers()
tests/public/IndexTest.php:25
1) Tests\boot\HelpersTest::testRouteUrl
-'http://localhost:8080/'
+'https://foo.com/'
tests/boot/HelpersTest.php:67
2) Tests\boot\HelpersTest::testRedirectTo
Tests: 33, Assertions: 105, Errors: 1, Failures: 2.
xdebug_get_headers() only exists with xdebug loaded. The workflow installs no xdebug, so the test needs a function_exists skip or the extension has to be added to the CI matrix
- The two
HelpersTest failures look like state leaking between tests: the expected base URL is http://localhost:8080/ but a https://foo.com/ base set by an earlier test is still in effect. Worth checking whether the Request or Router service is reset between tests
The lint job is also red, with 5 files php-cs-fixer wants to change, mostly \PHP_SAPI / \PHP_URL_PATH global constant prefixes and a missing final newline in public/index.php.
Filed while merging #16, the framework ^2.0 bump. That PR reproduces exactly these three results and no others, so the upgrade did not cause them and did not add to them.
The
testjob onmainhas been failing since the community health files merge on 2026-07-26, with the same three results every run, most recently confirmed against framework 2.0:xdebug_get_headers()only exists with xdebug loaded. The workflow installs no xdebug, so the test needs afunction_existsskip or the extension has to be added to the CI matrixHelpersTestfailures look like state leaking between tests: the expected base URL ishttp://localhost:8080/but ahttps://foo.com/base set by an earlier test is still in effect. Worth checking whether the Request or Router service is reset between testsThe
lintjob is also red, with 5 files php-cs-fixer wants to change, mostly\PHP_SAPI/\PHP_URL_PATHglobal constant prefixes and a missing final newline inpublic/index.php.Filed while merging #16, the framework ^2.0 bump. That PR reproduces exactly these three results and no others, so the upgrade did not cause them and did not add to them.