Improve error message
parent
1c525b76f8
commit
b156ad0345
|
@ -207,7 +207,7 @@ class Rule
|
||||||
} elseif ($targetName === 'hhvm') {
|
} elseif ($targetName === 'hhvm') {
|
||||||
$text .= ' -> you are running this with PHP and not HHVM.';
|
$text .= ' -> you are running this with PHP and not HHVM.';
|
||||||
} else {
|
} else {
|
||||||
$text .= ' -> your PHP version ('. phpversion() .') or "config.platform.php" value does not satisfy that requirement.';
|
$text .= ' -> your PHP version ('. phpversion() .') or "config.platform.php" setting in composer.json does not satisfy that requirement.';
|
||||||
}
|
}
|
||||||
} elseif (0 === strpos($targetName, 'ext-')) {
|
} elseif (0 === strpos($targetName, 'ext-')) {
|
||||||
// handle php extensions
|
// handle php extensions
|
||||||
|
|
Loading…
Reference in New Issue