Fixed typo

main
Markus Staab 6 years ago committed by GitHub
parent 158e1c95da
commit 76bf6bdf97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,7 +92,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
$this->url = $repoConfig['url'];
// force url for packagist.org to repo.packagist.org
if (preg_match('{^(?P<proto>https?)://packagist.org/?$}i', $this->url, $match)) {
if (preg_match('{^(?P<proto>https?)://packagist\.org/?$}i', $this->url, $match)) {
$this->url = $match['proto'].'://repo.packagist.org';
}

Loading…
Cancel
Save