1
0
Fork 0

Fix display issue in create-project when installing dev-master

pull/8880/head
Jordi Boggiano 2020-05-06 13:45:31 +02:00
parent 88ced66f2c
commit 1ef352751c
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 5 additions and 0 deletions

View File

@ -368,6 +368,11 @@ EOT
} }
} }
// avoid displaying 9999999-dev as version if dev-master was selected
if ($package instanceof AliasPackage && $package->getPrettyVersion() === VersionParser::DEV_MASTER_ALIAS) {
$package = $package->getAliasOf();
}
$io->writeError('<info>Installing ' . $package->getName() . ' (' . $package->getFullPrettyVersion(false) . ')</info>'); $io->writeError('<info>Installing ' . $package->getName() . ' (' . $package->getFullPrettyVersion(false) . ')</info>');
if ($disablePlugins) { if ($disablePlugins) {