mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
missing default value for $version
This commit is contained in:
parent
d43f2beed8
commit
7172f4bdbe
@ -30,6 +30,7 @@ final class Plugin
|
||||
$vendor_dir = CliUtils::getVendorDir($current_dir);
|
||||
CliUtils::requireAutoloaders($current_dir, false, $vendor_dir);
|
||||
|
||||
$version = null;
|
||||
try {
|
||||
$version = InstalledVersions::getVersion('vimeo/psalm') ;
|
||||
} catch (OutOfBoundsException $e) {
|
||||
|
@ -147,6 +147,7 @@ final class CliUtils
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$version = null;
|
||||
try {
|
||||
$version = InstalledVersions::getVersion('vimeo/psalm') ;
|
||||
} catch (OutOfBoundsException $e) {
|
||||
|
Loading…
Reference in New Issue
Block a user