소스 검색

Add openssl version to diagnose command, refs #8506

Jordi Boggiano 5 년 전
부모
커밋
6c795dedc0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;
     }