Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
8 | class LocateFilesByGlobPattern |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @param string[] $globPatterns a list of glob patterns to find files in |
||
13 | * @param string $rootDir the root directory that should be used when patterns are relative paths |
||
14 | * @return Traversable<string> the files found by the given glob patterns |
||
15 | * @see https://github.com/webmozart/glob |
||
16 | */ |
||
17 | 10 | public function __invoke(array $globPatterns, string $rootDir): Traversable |
|
25 |