diff --git a/src/Composer/Downloader/DownloadManager.php b/src/Composer/Downloader/DownloadManager.php index 96daa0caf..c2082350a 100644 --- a/src/Composer/Downloader/DownloadManager.php +++ b/src/Composer/Downloader/DownloadManager.php @@ -167,7 +167,7 @@ class DownloadManager // upgrading from a dist stable package to a dev package, force source reinstall if ($target->isDev() && 'dist' === $installationSource) { $downloader->remove($initial, $targetDir); - $this->download($target, $targetDir, 'source' === $installationSource); + $this->download($target, $targetDir); return; }