Skip to content

Commit 5adacfc

Browse files
committed
Tweak messaging
1 parent 41a8dc3 commit 5adacfc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/Psalm/Internal/Cli/Psalm.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,8 +1020,13 @@ private static function restart(
10201020
. 'JIT acceleration: OFF (an error occurred while enabling JIT)' . PHP_EOL
10211021
. 'Please report this to https://github.com/vimeo/psalm with your OS and PHP configuration!'
10221022
. PHP_EOL . PHP_EOL);
1023+
} else {
1024+
$progress->write(PHP_EOL
1025+
. 'JIT acceleration: OFF' . PHP_EOL
1026+
. 'You can enable JIT acceleration (experimental) with --force-jit.'
1027+
. PHP_EOL . PHP_EOL);
10231028
}
1024-
} elseif ($force_jit) {
1029+
} else {
10251030
$progress->write(PHP_EOL
10261031
. 'JIT acceleration: OFF (opcache not installed or not enabled)' . PHP_EOL
10271032
. 'Install and enable the opcache extension to use JIT with --force-jit.'

0 commit comments

Comments
 (0)