Jelajahi Sumber

Add openssl version to diagnose command, refs #8506

Jordi Boggiano 5 tahun lalu
induk
melakukan
6c795dedc0
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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;
     }