mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-13 11:55:36 +08:00
phpstan fix
This commit is contained in:
@@ -105,7 +105,7 @@ function osfamily2dir(): string
|
|||||||
function osfamily2shortname(): string
|
function osfamily2shortname(): string
|
||||||
{
|
{
|
||||||
return match (PHP_OS_FAMILY) {
|
return match (PHP_OS_FAMILY) {
|
||||||
'Windows', 'WINNT', 'Cygwin' => 'win',
|
'Windows' => 'win',
|
||||||
'Darwin' => 'macos',
|
'Darwin' => 'macos',
|
||||||
'Linux' => 'linux',
|
'Linux' => 'linux',
|
||||||
'BSD' => 'bsd',
|
'BSD' => 'bsd',
|
||||||
|
|||||||
Reference in New Issue
Block a user