mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-05 07:45:39 +08:00
Upgrade phpstan to v2
This commit is contained in:
@@ -44,7 +44,7 @@ abstract class UnixUtil
|
||||
continue;
|
||||
}
|
||||
$name = preg_replace('/@.*$/', '', $name);
|
||||
if ($name !== '' && $name !== false) {
|
||||
if (!empty($name)) {
|
||||
$defined[] = $name;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user