Просмотр исходного кода

Rename platform packages so they avoid conflicts with any vendor

Jordi Boggiano 13 лет назад
Родитель
Сommit
c863c31881
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Composer/Repository/PlatformRepository.php

+ 1 - 1
src/Composer/Repository/PlatformRepository.php

@@ -56,7 +56,7 @@ class PlatformRepository extends ArrayRepository implements WritableRepositoryIn
                 $version = $versionParser->normalize('0');
             }
 
-            $ext = new MemoryPackage('ext/'.strtolower($ext), $version);
+            $ext = new MemoryPackage('ext-'.strtolower($ext), $version);
             parent::addPackage($ext);
         }
     }