| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 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 iterable|string[] the files found by the given glob patterns |
||
| 15 | * @see https://github.com/webmozart/glob |
||
| 16 | */ |
||
| 17 | 3 | public function __invoke(array $globPatterns = [], string $rootDir): iterable |
|
| 25 |