diff --git a/src/Composer/Command/DiagnoseCommand.php b/src/Composer/Command/DiagnoseCommand.php
index dee37502f..3bcc665dc 100644
--- a/src/Composer/Command/DiagnoseCommand.php
+++ b/src/Composer/Command/DiagnoseCommand.php
@@ -156,7 +156,7 @@ EOT
$this->outputResult($this->checkVersion($config));
}
- $io->write(sprintf('Composer version: %s', Composer::VERSION));
+ $io->write(sprintf('Composer version: %s', Composer::getVersion()));
$platformOverrides = $config->get('platform') ?: array();
$platformRepo = new PlatformRepository(array(), $platformOverrides);