From e77435cd0c984e2031d915a6b42648e7b284dd5c Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 2 Jul 2014 17:31:13 +0200 Subject: [PATCH] Skip apc check for hhvm, fixes #3081 --- src/Composer/Command/DiagnoseCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/DiagnoseCommand.php b/src/Composer/Command/DiagnoseCommand.php index 2661837a3..3994138f4 100644 --- a/src/Composer/Command/DiagnoseCommand.php +++ b/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; }