Skip to content

Commit

Permalink
Correct exit code for invalid version format
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Aug 20, 2023
1 parent e085b73 commit 46ebe72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/CliUtils.php
Expand Up @@ -493,7 +493,7 @@ public static function initPhpVersion(array $options, Config $config, ProjectAna
STDERR,
$e->getMessage() . PHP_EOL,
);
exit(2);
exit(1);
}
}
}
Expand Down

0 comments on commit 46ebe72

Please sign in to comment.