1
0
Fork 0

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

pull/8180/head
Jordi Boggiano 2019-06-07 16:27:40 +02:00
parent de10fef39c
commit 088fb56c3d
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -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.';
}