1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00

Improve error message

This commit is contained in:
Wouter J 2015-12-12 12:19:26 +01:00
parent 1c525b76f8
commit b156ad0345

View file

@ -207,7 +207,7 @@ class Rule
} elseif ($targetName === 'hhvm') {
$text .= ' -> you are running this with PHP and not HHVM.';
} 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-')) {
// handle php extensions