| @@ 20-22 (lines=3) @@ | ||
| 17 | } |
|
| 18 | ||
| 19 | /** @var \SplFileInfo $entry */ |
|
| 20 | foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($tempDir, \RecursiveDirectoryIterator::SKIP_DOTS), \RecursiveIteratorIterator::CHILD_FIRST) as $entry) { |
|
| 21 | $entry->isDir() ? rmdir((string) $entry) : unlink((string) $entry); |
|
| 22 | } |
|
| 23 | ||
| 24 | $container = (new Configurator()) |
|
| 25 | ->setTempDirectory($tempDir) |
|
| @@ 22-24 (lines=3) @@ | ||
| 19 | } |
|
| 20 | ||
| 21 | /** @var \SplFileInfo $entry */ |
|
| 22 | foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($tempDir, \RecursiveDirectoryIterator::SKIP_DOTS), \RecursiveIteratorIterator::CHILD_FIRST) as $entry) { |
|
| 23 | $entry->isDir() ? rmdir((string) $entry) : unlink((string) $entry); |
|
| 24 | } |
|
| 25 | ||
| 26 | $container = (new Configurator()) |
|
| 27 | ->setTempDirectory($tempDir) |
|