diff --git a/src/Psalm/Internal/CliUtils.php b/src/Psalm/Internal/CliUtils.php index 86f6b3261a3..03328e0d999 100644 --- a/src/Psalm/Internal/CliUtils.php +++ b/src/Psalm/Internal/CliUtils.php @@ -493,7 +493,7 @@ public static function initPhpVersion(array $options, Config $config, ProjectAna STDERR, $e->getMessage() . PHP_EOL, ); - exit(2); + exit(1); } } }