Browse Source

Add openssl version to diagnose command, refs #8506

Jordi Boggiano 5 năm trước cách đây
mục cha
commit
6c795dedc0
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;
     }