Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8eae151

Browse files
authored
Merge pull request #7487 from staabm/patch-1
Fixed typo
2 parents f70f1c3 + 76bf6bd commit 8eae151

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Composer/Repository/ComposerRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function __construct(array $repoConfig, IOInterface $io, Config $config,
9292
$this->url = $repoConfig['url'];
9393

9494
// force url for packagist.org to repo.packagist.org
95-
if (preg_match('{^(?P<proto>https?)://packagist.org/?$}i', $this->url, $match)) {
95+
if (preg_match('{^(?P<proto>https?)://packagist\.org/?$}i', $this->url, $match)) {
9696
$this->url = $match['proto'].'://repo.packagist.org';
9797
}
9898

0 commit comments

Comments
 (0)