From 76bf6bdf972eabca66bc0d2eb5c5f49796166e40 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Tue, 24 Jul 2018 18:20:04 +0200 Subject: [PATCH] Fixed typo --- src/Composer/Repository/ComposerRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/ComposerRepository.php b/src/Composer/Repository/ComposerRepository.php index 403b31cd9..8a5da2b23 100644 --- a/src/Composer/Repository/ComposerRepository.php +++ b/src/Composer/Repository/ComposerRepository.php @@ -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('{^(?Phttps?)://packagist.org/?$}i', $this->url, $match)) { + if (preg_match('{^(?Phttps?)://packagist\.org/?$}i', $this->url, $match)) { $this->url = $match['proto'].'://repo.packagist.org'; }