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) {
|
||||
$packageQueue = new \SplQueue;
|
||||
$nameMatchesRequiredPackage = false;
|
||||
|
||||
$depPackages = $pool->whatProvides($packageName);
|
||||
$matchesByPattern = array();
|
||||
|
|
Loading…
Reference in New Issue