Преглед изворни кода

Add repositories path glob

Kazuhiro Inari пре 6 година
родитељ
комит
354eec76ae
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Composer/Repository/PathRepository.php

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

@@ -177,6 +177,6 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
         // Ensure environment-specific path separators are normalized to URL separators
         return array_map(function ($val) {
             return rtrim(str_replace(DIRECTORY_SEPARATOR, '/', $val), '/');
-        }, glob($this->url, GLOB_MARK | GLOB_ONLYDIR));
+        }, glob($this->url, GLOB_MARK | GLOB_ONLYDIR | GLOB_BRACE));
     }
 }