From 6afc8443395e00080243e612913738780a6c30a6 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 7 Mar 2017 09:20:49 +0100 Subject: [PATCH] Do not warn of mirrors not existing --- 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 9f6fa5d04..69d93c69e 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -1316,7 +1316,7 @@ class Installer } } - if (count($depPackages) == 0 && !$nameMatchesRequiredPackage && !in_array($packageName, array('nothing', 'lock'))) { + if (count($depPackages) == 0 && !$nameMatchesRequiredPackage && !in_array($packageName, array('nothing', 'lock', 'mirrors'))) { $this->io->writeError('Package "' . $packageName . '" listed for update is not installed. Ignoring.'); }