Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f70f1c3 + 76bf6bd commit 8eae151Copy full SHA for 8eae151
1 file changed
src/Composer/Repository/ComposerRepository.php
@@ -92,7 +92,7 @@ public function __construct(array $repoConfig, IOInterface $io, Config $config,
92
$this->url = $repoConfig['url'];
93
94
// force url for packagist.org to repo.packagist.org
95
- if (preg_match('{^(?P<proto>https?)://packagist.org/?$}i', $this->url, $match)) {
+ if (preg_match('{^(?P<proto>https?)://packagist\.org/?$}i', $this->url, $match)) {
96
$this->url = $match['proto'].'://repo.packagist.org';
97
}
98
0 commit comments