Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 87.5% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class PathFinder implements PathFinderInterface |
||
11 | { |
||
12 | /** @var array<string,array<int,string>> */ |
||
13 | private static array $cache = []; |
||
14 | |||
15 | 30 | /** |
|
16 | * @return string[] |
||
17 | 30 | */ |
|
18 | 25 | public function matchingPattern(string $pattern): array |
|
31 | 30 | } |
|
32 | |||
33 | 30 | /** |
|
34 | * Note: The GLOB_BRACE flag is not available on some non-GNU systems, like Solaris or Alpine Linux. |
||
35 | * |
||
36 | * @see https://www.php.net/manual/en/function.glob.php |
||
37 | */ |
||
38 | private function ensureGlobBraceIsDefined(): void |
||
45 |