1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

improve CI error message

This commit is contained in:
Markus Staab 2022-08-22 16:55:32 +02:00
parent a3d58cf2fd
commit 8407cacc02

View File

@ -636,7 +636,7 @@ HELP;
if (isset($options['php-version'])) {
if (!is_string($options['php-version'])) {
die('Expecting a version number in the format x.y' . PHP_EOL);
die('Expecting a version number in the format x.y, got'. get_debug_type($options['php-version']) . PHP_EOL);
}
$version = $options['php-version'];
$source = 'cli';