Parcourir la source

Add openssl version to diagnose command, refs #8506

Jordi Boggiano il y a 5 ans
Parent
commit
6c795dedc0
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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;
     }