Explorar el Código

Skip apc check for hhvm, fixes #3081

Jordi Boggiano hace 11 años
padre
commit
e77435cd0c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Command/DiagnoseCommand.php

+ 1 - 1
src/Composer/Command/DiagnoseCommand.php

@@ -312,7 +312,7 @@ EOT
             $warnings['openssl'] = true;
         }
 
-        if (ini_get('apc.enable_cli')) {
+        if (!defined('HHVM_VERSION') && ini_get('apc.enable_cli')) {
             $warnings['apc_cli'] = true;
         }