Преглед изворни кода

Merge pull request #306 from Lowgain/patch-1

Exception mentioned PEAR repository when should be VCS, was misleading
Jordi Boggiano пре 13 година
родитељ
комит
fcc2d11056
1 измењених фајлова са 1 додато и 1 уклоњено
  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(