mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-15 04:45:35 +08:00
Move all interactive input to construct
This commit is contained in:
@@ -30,9 +30,9 @@ class Re2cVersionCheck
|
||||
#[FixItem('build-re2c')]
|
||||
public function buildRe2c(): bool
|
||||
{
|
||||
$installer = new PackageInstaller();
|
||||
$installer = new PackageInstaller(interactive: false);
|
||||
$installer->addInstallPackage('re2c');
|
||||
$installer->run(false);
|
||||
$installer->run(true);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user