فهرست منبع

Add TODO note

Jordi Boggiano 5 سال پیش
والد
کامیت
82e2a679bf
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      src/Composer/DependencyResolver/PoolBuilder.php

+ 3 - 0
src/Composer/DependencyResolver/PoolBuilder.php

@@ -72,6 +72,9 @@ class PoolBuilder
             }
             }
         }
         }
 
 
+        // TODO make sure if a fixed package replaces X packages they are not loaded again in loadNames
+        //  perhaps loadPackage needs to mark them as loadedNames when loading a fixed package?
+
         foreach ($request->getRequires() as $packageName => $constraint) {
         foreach ($request->getRequires() as $packageName => $constraint) {
             if (isset($this->loadedNames[$packageName])) {
             if (isset($this->loadedNames[$packageName])) {
                 continue;
                 continue;