mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 10:25:36 +08:00
cs fixer, of course
This commit is contained in:
@@ -98,11 +98,10 @@ trait UnixLibraryTrait
|
|||||||
if ($realpath === false) {
|
if ($realpath === false) {
|
||||||
if ($throwOnMissing) {
|
if ($throwOnMissing) {
|
||||||
throw new RuntimeException('Cannot find library [' . static::NAME . '] la file [' . $name . '] !');
|
throw new RuntimeException('Cannot find library [' . static::NAME . '] la file [' . $name . '] !');
|
||||||
} else {
|
}
|
||||||
logger()->warning('Cannot find library [' . static::NAME . '] la file [' . $name . '] !');
|
logger()->warning('Cannot find library [' . static::NAME . '] la file [' . $name . '] !');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
logger()->debug('Patching ' . $realpath);
|
logger()->debug('Patching ' . $realpath);
|
||||||
// replace prefix
|
// replace prefix
|
||||||
$file = FileSystem::readFile($realpath);
|
$file = FileSystem::readFile($realpath);
|
||||||
|
|||||||
Reference in New Issue
Block a user