Explorar o código

Add openssl version to diagnose command, refs #8506

Jordi Boggiano %!s(int64=5) %!d(string=hai) anos
pai
achega
6c795dedc0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/Composer/Command/DiagnoseCommand.php

+ 2 - 0
src/Composer/Command/DiagnoseCommand.php

@@ -172,6 +172,8 @@ EOT
             $io->write(sprintf('PHP binary path: <comment>%s</comment>', PHP_BINARY));
         }
 
+        $io->write(sprintf('OpenSSL version: <comment>%s</comment>', OPENSSL_VERSION_TEXT));
+
         return $this->exitCode;
     }