add php version and binary to the dignose command
parent
edece864e7
commit
f1fb969a3a
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue