1
0
Fork 0

Merge pull request #306 from Lowgain/patch-1

Exception mentioned PEAR repository when should be VCS, was misleading
pull/307/merge
Jordi Boggiano 2012-02-17 00:55:22 -08:00
commit fcc2d11056
1 changed files with 1 additions and 1 deletions

View File

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