From cbf4280fa0846f84a463e8f8036da283d653e68a Mon Sep 17 00:00:00 2001 From: rango Date: Fri, 8 May 2026 12:02:39 +0800 Subject: [PATCH] test: fix phpx directory test script --- test_phpx_dir.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test_phpx_dir.php b/test_phpx_dir.php index 12903cc2..150d9b85 100644 --- a/test_phpx_dir.php +++ b/test_phpx_dir.php @@ -2,7 +2,11 @@ require __DIR__ . '/vendor/autoload.php'; -$compiler = new PhpAot\Php\CompilerBase(); +use PhpAot\Php\CompilerBase; +use League\CLImate\CLImate; + +$climate = new CLImate(); +$compiler = new CompilerBase($climate); $ref = new ReflectionMethod($compiler, 'getPhpxDir'); $ref->setAccessible(true);