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
parent
5e35464044
commit
85617aa740
|
@ -1317,6 +1317,7 @@ class Installer
|
||||||
|
|
||||||
foreach ($this->updateWhitelist as $packageName => $void) {
|
foreach ($this->updateWhitelist as $packageName => $void) {
|
||||||
$packageQueue = new \SplQueue;
|
$packageQueue = new \SplQueue;
|
||||||
|
$nameMatchesRequiredPackage = false;
|
||||||
|
|
||||||
$depPackages = $pool->whatProvides($packageName);
|
$depPackages = $pool->whatProvides($packageName);
|
||||||
$matchesByPattern = array();
|
$matchesByPattern = array();
|
||||||
|
|
Loading…
Reference in New Issue