Przeglądaj źródła

Quote version in output to highlight empty versions

Jordi Boggiano 13 lat temu
rodzic
commit
198a40fc63
1 zmienionych plików z 1 dodań i 1 usunięć
  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.'"');
     }
 
     /**