Explorar o código

Exception mentioned PEAR repository when should be VCS, was misleading

Logan Aube %!s(int64=13) %!d(string=hai) anos
pai
achega
ea05f678fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Repository/VcsRepository.php

+ 1 - 1
src/Composer/Repository/VcsRepository.php

@@ -20,7 +20,7 @@ class VcsRepository extends ArrayRepository
     public function __construct(array $config, IOInterface $io, array $drivers = null)
     {
         if (!filter_var($config['url'], FILTER_VALIDATE_URL)) {
-            throw new \UnexpectedValueException('Invalid url given for PEAR repository: '.$config['url']);
+            throw new \UnexpectedValueException('Invalid url given for VCS repository: '.$config['url']);
         }
 
         $this->drivers = $drivers ?: array(