Browse Source

Quote version in output to highlight empty versions

Jordi Boggiano 12 years ago
parent
commit
198a40fc63
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Package/Version/VersionParser.php

+ 1 - 1
src/Composer/Package/Version/VersionParser.php

@@ -135,7 +135,7 @@ class VersionParser
             } catch (\Exception $e) {}
         }
 
-        throw new \UnexpectedValueException('Invalid version string '.$version);
+        throw new \UnexpectedValueException('Invalid version string "'.$version.'"');
     }
 
     /**