We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8885eeb commit e25dec6Copy full SHA for e25dec6
1 file changed
src/Psalm/Internal/Fork/PsalmRestarter.php
@@ -39,6 +39,7 @@ final class PsalmRestarter extends XdebugHandler
39
'log_verbosity_level' => 0,
40
'save_comments' => 1,
41
'restrict_api' => '',
42
+ 'jit' => 'off',
43
];
44
45
private const JIT_OPCACHE_SETTINGS = [
@@ -200,7 +201,7 @@ protected function restart($command): void
200
201
private function getEffectiveOpcacheSettings(): array
202
{
203
if ($this->enableJit) {
- return self::REQUIRED_OPCACHE_SETTINGS + self::JIT_OPCACHE_SETTINGS;
204
+ return array_merge(self::REQUIRED_OPCACHE_SETTINGS, self::JIT_OPCACHE_SETTINGS);
205
}
206
207
return self::REQUIRED_OPCACHE_SETTINGS;
0 commit comments