1
0
Fork 0

Show best possible version in diagnose command

pull/6942/head^2
Jordi Boggiano 2019-08-02 14:00:34 +02:00
parent 08d661ceca
commit 76a2c63bf8
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ EOT
$this->outputResult($this->checkVersion($config)); $this->outputResult($this->checkVersion($config));
} }
$io->write(sprintf('Composer version: <comment>%s</comment>', Composer::VERSION)); $io->write(sprintf('Composer version: <comment>%s</comment>', Composer::getVersion()));
$platformOverrides = $config->get('platform') ?: array(); $platformOverrides = $config->get('platform') ?: array();
$platformRepo = new PlatformRepository(array(), $platformOverrides); $platformRepo = new PlatformRepository(array(), $platformOverrides);