mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
Fix phpunit, add SPC_SKIP_TOOLCHAIN_CHECK
This commit is contained in:
@@ -108,7 +108,9 @@ class GlobalEnvManager
|
||||
*/
|
||||
public static function afterInit(): void
|
||||
{
|
||||
ToolchainManager::afterInitToolchain();
|
||||
if (!filter_var(getenv('SPC_SKIP_TOOLCHAIN_CHECK'), FILTER_VALIDATE_BOOL)) {
|
||||
ToolchainManager::afterInitToolchain();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user