Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | private function scanRootPath(string $rootPath): void |
||
21 | { |
||
22 | $dirs = glob($rootPath.DIRECTORY_SEPARATOR.'*', GLOB_ONLYDIR); |
||
23 | |||
24 | if ($dirs === false) { |
||
25 | throw new DatasetException(sprintf('An error occurred during directory "%s" scan', $rootPath)); |
||
26 | } |
||
27 | |||
28 | foreach ($dirs as $dir) { |
||
29 | $this->scanDir($dir); |
||
30 | } |
||
48 |