Selaa lähdekoodia

Quote version in output to highlight empty versions

Jordi Boggiano 13 vuotta sitten
vanhempi
commit
198a40fc63
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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.'"');
     }
 
     /**