Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
parent
de10fef39c
commit
088fb56c3d
|
@ -106,7 +106,7 @@ class Problem
|
||||||
|
|
||||||
$msg = "\n - This package requires ".$job['packageName'].$this->constraintToText($job['constraint']).' but ';
|
$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.';
|
return $msg . 'your HHVM version does not satisfy that requirement.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue