Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138

main
Jordi Boggiano 5 years ago
parent de10fef39c
commit 088fb56c3d
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -106,7 +106,7 @@ class Problem
$msg = "\n - This package requires ".$job['packageName'].$this->constraintToText($job['constraint']).' but ';
if (defined('HHVM_VERSION') || count($available)) {
if (defined('HHVM_VERSION') || (count($available) && $job['packageName'] === 'hhvm')) {
return $msg . 'your HHVM version does not satisfy that requirement.';
}

Loading…
Cancel
Save