Skip to content

Commit 514008d

Browse files
authored
Merge pull request #87 from se7enxweb/copilot/fix-database-tests-mysql-php-8-3
Fix PHPUnit 11 Registry resolution in DB CI test bootstrap
2 parents 34e16c2 + fcd79af commit 514008d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
// PHPUnit 11+ removed PHPUnit\TextUI\Configuration\Registry.
2626
// Older isolated-process code paths still reference it, so provide a minimal shim.
27-
if ( !class_exists( 'PHPUnit\\TextUI\\Configuration\\Registry', false ) )
27+
if ( !class_exists( 'PHPUnit\\TextUI\\Configuration\\Registry' ) )
2828
{
2929
require_once __DIR__ . '/compat/PHPUnit/TextUI/Configuration/Registry.php';
3030
}

0 commit comments

Comments
 (0)