Przeglądaj źródła

Merge pull request #7932 from hco/patch-2

Installer: Initialize $nameMatchesRequiredPackage
Jordi Boggiano 6 lat temu
rodzic
commit
8c93890c48
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/Composer/Installer.php

+ 1 - 0
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();