From 02ed27b16b184ecd6befed5bf8f6501084b42c0e Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 3 Mar 2016 12:21:49 +0000 Subject: [PATCH] Add outdated lock and failure to parse deps to quiet output, fixes #4393 --- src/Composer/Installer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index ace3fa17b..570317fff 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -475,7 +475,7 @@ class Installer $this->io->writeError('Installing dependencies'.($withDevReqs ? ' (including require-dev)' : '').' from lock file'); if (!$this->locker->isFresh()) { - $this->io->writeError('Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.'); + $this->io->writeError('Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.', true, IOInterface::QUIET); } foreach ($lockedRepository->getPackages() as $package) { @@ -515,7 +515,7 @@ class Installer $operations = $solver->solve($request, $this->ignorePlatformReqs); $this->eventDispatcher->dispatchInstallerEvent(InstallerEvents::POST_DEPENDENCIES_SOLVING, $this->devMode, $policy, $pool, $installedRepo, $request, $operations); } catch (SolverProblemsException $e) { - $this->io->writeError('Your requirements could not be resolved to an installable set of packages.'); + $this->io->writeError('Your requirements could not be resolved to an installable set of packages.', true, IOInterface::QUIET); $this->io->writeError($e->getMessage()); return max(1, $e->getCode());