Installer: Initialize $nameMatchesRequiredPackage

We had a case where we got `Undefined variable: nameMatchesRequiredPackage` — I think it should be initialized with false, right?
main
Hans-Christian Otto 5 years ago
parent 5e35464044
commit 85617aa740
No known key found for this signature in database
GPG Key ID: 5C125D9FC0BD580D

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

Loading…
Cancel
Save