1
0
Fork 0

Merge pull request #7487 from staabm/patch-1

Fixed typo
pull/7495/head
Jordi Boggiano 2018-07-24 21:44:27 +02:00 committed by GitHub
commit 8eae15182c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
$this->url = $repoConfig['url']; $this->url = $repoConfig['url'];
// force url for packagist.org to repo.packagist.org // 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'; $this->url = $match['proto'].'://repo.packagist.org';
} }