Ver Fonte

Quote version in output to highlight empty versions

Jordi Boggiano há 12 anos atrás
pai
commit
198a40fc63
1 ficheiros alterados com 1 adições e 1 exclusões
  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.'"');
     }
 
     /**