1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-29 20:28:59 +01:00
This commit is contained in:
Daniil Gentili 2023-02-20 17:50:24 +01:00
parent 79646304be
commit ccc7116fc4

View File

@ -63,7 +63,7 @@ class PsalmRestarter extends XdebugHandler
}
$cmd = [PHP_BINARY, '-n', '-dzend_extension=opcache', '-r', 'var_dump(function_exists("opcache_get_status"));'];
if (PHP_VERSION_ID >= 70400) {
if (PHP_VERSION_ID >= 7_04_00) {
$cmd = $cmd;
} else {
$cmd = Process::escapeShellCommand($cmd);