From 85617aa74061000bb474b44f629bf8c3be337ee4 Mon Sep 17 00:00:00 2001 From: Hans-Christian Otto Date: Tue, 29 Jan 2019 17:18:58 +0100 Subject: [PATCH 1/2] Installer: Initialize $nameMatchesRequiredPackage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We had a case where we got `Undefined variable: nameMatchesRequiredPackage` — I think it should be initialized with false, right? --- src/Composer/Installer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index f38086611..8573f3695 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -1317,6 +1317,7 @@ class Installer foreach ($this->updateWhitelist as $packageName => $void) { $packageQueue = new \SplQueue; + $nameMatchesRequiredPackage = false; $depPackages = $pool->whatProvides($packageName); $matchesByPattern = array(); From b3182b0f7dd84f36e7d8e57dc6316bb8a937871c Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 30 Jan 2019 08:31:28 +0100 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27eaacc67..db9890bda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### [1.8.3] 2019-01-30 + + * Fixed regression when executing partial updates + ### [1.8.2] 2019-01-29 * Fixed invalid deprecation warning for ext-pdo_mysql and similar