Merge pull request #306 from Lowgain/patch-1

Exception mentioned PEAR repository when should be VCS, was misleading
main
Jordi Boggiano 13 years ago
commit fcc2d11056

@ -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(

Loading…
Cancel
Save