From 354eec76aea9d16401dae184f575585b00f7d613 Mon Sep 17 00:00:00 2001 From: Kazuhiro Inari Date: Sat, 7 Jul 2018 00:47:27 +0900 Subject: [PATCH] Add repositories path glob --- src/Composer/Repository/PathRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/PathRepository.php b/src/Composer/Repository/PathRepository.php index ee5d702fa..c6e0bb39d 100644 --- a/src/Composer/Repository/PathRepository.php +++ b/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)); } }