From d0ff01698de0eb74e45ebe379b6ac8ccd5a6b0db Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 20 Jun 2015 12:58:19 +0100 Subject: [PATCH] Fix outdated comment --- src/Composer/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index b396cb4b0..e58381856 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -968,7 +968,7 @@ class Installer // update the dist and source URLs $package->setSourceUrl($newPackage->getSourceUrl()); - // only update dist url for github dists as they use a combination of dist url + dist reference to install + // only update dist url for github/bitbucket dists as they use a combination of dist url + dist reference to install // but for other urls this is ambiguous and could result in bad outcomes if (preg_match('{^https?://(?:(?:www\.)?bitbucket\.org|(api\.)?github\.com)/}', $newPackage->getDistUrl())) { $package->setDistUrl($newPackage->getDistUrl());