1
0
Fork 0

add php version and binary to the dignose command

pull/6746/head
Renan de Lima 2017-10-15 12:48:34 +02:00
parent edece864e7
commit f1fb969a3a
1 changed files with 8 additions and 0 deletions

View File

@ -150,6 +150,14 @@ EOT
$this->outputResult($this->checkVersion($config)); $this->outputResult($this->checkVersion($config));
} }
$io->write(sprintf('Composer version: <comment>%s</comment>', Composer::VERSION));
$io->write(sprintf('PHP version: <comment>%s</comment>', PHP_VERSION));
if (defined('PHP_BINARY')) {
$io->write(sprintf('PHP binary path: <comment>%s</comment>', PHP_BINARY));
}
return $this->exitCode; return $this->exitCode;
} }