1
0
Fork 0

Merge pull request #6746 from renanbr/diagnose-with-php-bin-info

add php version and binary to the dignose command
pull/6779/merge
Jordi Boggiano 2017-11-03 19:52:21 +01:00 committed by GitHub
commit 14dc4b20df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -150,6 +150,14 @@ EOT
$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;
}