Browse Source

instead of generic be more verbose about possible causes

Rob Bast 9 years ago
parent
commit
51ef7b5eef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/DependencyResolver/Rule.php

+ 1 - 1
src/Composer/DependencyResolver/Rule.php

@@ -206,7 +206,7 @@ class Rule
                         } elseif ($targetName === 'hhvm') {
                             $text .= ' -> you are running this with PHP and not HHVM.';
                         } else {
-                            $text .= ' -> your PHP version does not satisfy that requirement.';
+                            $text .= ' -> your PHP version ('. phpversion() .') or "config.platform.php" value does not satisfy that requirement.';
                         }
                     } elseif (0 === strpos($targetName, 'ext-')) {
                         // handle php extensions