Browse Source

Skip apc check for hhvm, fixes #3081

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