1
0
Fork 0

Merge pull request #4698 from WouterJ/patch-1

Improve error message about platform php version
pull/4738/head
Rob 2015-12-21 08:37:23 +01:00
commit a6beb7f53d
1 changed files with 1 additions and 1 deletions

View File

@ -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 value of "config.platform.php" in composer.json does not satisfy that requirement.';
} }
} elseif (0 === strpos($targetName, 'ext-')) { } elseif (0 === strpos($targetName, 'ext-')) {
// handle php extensions // handle php extensions