1
0
Fork 0

Fix syntax error & improve handling

pull/9239/head
Jordi Boggiano 2020-09-24 11:35:38 +02:00 committed by GitHub
parent bcd8a73e8c
commit d6b39b4c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}