Exception mentioned PEAR repository when should be VCS, was misleading
parent
26f2b9e93f
commit
ea05f678fd
|
@ -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…
Reference in New Issue