Fix syntax error & improve handling
parent
bcd8a73e8c
commit
d6b39b4c55
|
@ -172,9 +172,7 @@ EOT
|
|||
$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('OpenSSL version: ' . (defined('OPENSSL_VERSION_TEXT') ? '<comment>'.OPENSSL_VERSION_TEXT.'</comment>' : '<error>missing</error>'));
|
||||
|
||||
return $this->exitCode;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue