1
0
Fork 0

Installer: Initialize $nameMatchesRequiredPackage

We had a case where we got `Undefined variable: nameMatchesRequiredPackage` — I think it should be initialized with false, right?
pull/7932/head
Hans-Christian Otto 2019-01-29 17:18:58 +01:00
parent 5e35464044
commit 85617aa740
No known key found for this signature in database
GPG Key ID: 5C125D9FC0BD580D
1 changed files with 1 additions and 0 deletions

View File

@ -1317,6 +1317,7 @@ class Installer
foreach ($this->updateWhitelist as $packageName => $void) {
$packageQueue = new \SplQueue;
$nameMatchesRequiredPackage = false;
$depPackages = $pool->whatProvides($packageName);
$matchesByPattern = array();