diff --git a/composer.json b/composer.json index 666260b66..0a36e057c 100644 --- a/composer.json +++ b/composer.json @@ -58,7 +58,6 @@ "phpunit/phpunit": "^9.6", "psalm/plugin-mockery": "^1.1", "psalm/plugin-phpunit": "^0.18", - "rector/rector": "^0.18.5", "slevomat/coding-standard": "^8.4", "squizlabs/php_codesniffer": "^3.6", "symfony/process": "^4.4 || ^5.0 || ^6.0" diff --git a/src/Psalm/Internal/Fork/PsalmRestarter.php b/src/Psalm/Internal/Fork/PsalmRestarter.php index 30f8e234d..d74e5424e 100644 --- a/src/Psalm/Internal/Fork/PsalmRestarter.php +++ b/src/Psalm/Internal/Fork/PsalmRestarter.php @@ -28,7 +28,7 @@ final class PsalmRestarter extends XdebugHandler { private const REQUIRED_OPCACHE_SETTINGS = [ 'enable_cli' => 1, - 'jit' => 1254, + 'jit' => 1205, 'validate_timestamps' => 0, 'file_update_protection' => 0, 'jit_buffer_size' => 512 * 1024 * 1024, @@ -88,7 +88,7 @@ final class PsalmRestarter extends XdebugHandler if ($ini_name === 'jit_buffer_size') { $value = self::toBytes($value); } elseif ($ini_name === 'enable_cli') { - $value = in_array($value, ['1', 'true', true, 1]); + $value = in_array($value, ['1', 'true', true, 1]) ? 1 : 0; } elseif (is_int($required_value)) { $required_value = (int) $required_value; }