Fix support for running diagnose without openssl
The diagnose command already warns when openssl is not available. But the command was failing later when displaying the Openssl version.pull/9239/head
parent
44508319d1
commit
bcd8a73e8c
|
@ -172,7 +172,9 @@ EOT
|
||||||
$io->write(sprintf('PHP binary path: <comment>%s</comment>', PHP_BINARY));
|
$io->write(sprintf('PHP binary path: <comment>%s</comment>', PHP_BINARY));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (defined('OPENSSL_VERSION_TEXT') {
|
||||||
$io->write(sprintf('OpenSSL version: <comment>%s</comment>', OPENSSL_VERSION_TEXT));
|
$io->write(sprintf('OpenSSL version: <comment>%s</comment>', OPENSSL_VERSION_TEXT));
|
||||||
|
}
|
||||||
|
|
||||||
return $this->exitCode;
|
return $this->exitCode;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue