1
0
Fork 0

Merge pull request #9239 from stof/patch-1

Fix support for running diagnose without openssl
pull/9258/head
Jordi Boggiano 2020-09-24 11:38:15 +02:00 committed by GitHub
commit 23d42c6717
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ EOT
$io->write(sprintf('PHP binary path: <comment>%s</comment>', PHP_BINARY));
}
$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;
}