@@ 15-17 (lines=3) @@ | ||
12 | public function testCommand() |
|
13 | { |
|
14 | $tempDir = __DIR__ . '/../temp/Console'; |
|
15 | if (!@mkdir($tempDir, 0777, true) && !is_dir($tempDir)) { |
|
16 | throw new \RuntimeException(sprintf('Cannot create temp directory %s', $tempDir)); |
|
17 | } |
|
18 | ||
19 | /** @var \SplFileInfo $entry */ |
|
20 | foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($tempDir, \RecursiveDirectoryIterator::SKIP_DOTS), \RecursiveIteratorIterator::CHILD_FIRST) as $entry) { |
@@ 17-19 (lines=3) @@ | ||
14 | public function testExtension() |
|
15 | { |
|
16 | $tempDir = __DIR__ . '/../temp/DI'; |
|
17 | if (!@mkdir($tempDir, 0777, true) && !is_dir($tempDir)) { |
|
18 | throw new \RuntimeException(sprintf('Cannot create temp directory %s', $tempDir)); |
|
19 | } |
|
20 | ||
21 | /** @var \SplFileInfo $entry */ |
|
22 | foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($tempDir, \RecursiveDirectoryIterator::SKIP_DOTS), \RecursiveIteratorIterator::CHILD_FIRST) as $entry) { |