mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
phpstan fix
This commit is contained in:
parent
f09c18e78f
commit
8c8cb70174
@ -4,6 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace SPC\builder;
|
namespace SPC\builder;
|
||||||
|
|
||||||
|
use SPC\builder\unix\UnixBuilderBase;
|
||||||
use SPC\exception\EnvironmentException;
|
use SPC\exception\EnvironmentException;
|
||||||
use SPC\exception\SPCException;
|
use SPC\exception\SPCException;
|
||||||
use SPC\exception\ValidationException;
|
use SPC\exception\ValidationException;
|
||||||
@ -454,7 +455,9 @@ class Extension
|
|||||||
if (!file_exists($soFile)) {
|
if (!file_exists($soFile)) {
|
||||||
throw new ValidationException("extension {$this->getName()} build failed: {$soFile} not found", validation_module: "Extension {$this->getName()} build");
|
throw new ValidationException("extension {$this->getName()} build failed: {$soFile} not found", validation_module: "Extension {$this->getName()} build");
|
||||||
}
|
}
|
||||||
$this->builder->deployBinary($soFile, $soFile, false);
|
/** @var UnixBuilderBase $builder */
|
||||||
|
$builder = $this->builder;
|
||||||
|
$builder->deployBinary($soFile, $soFile, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user