We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39df9e4 + 9ca22e9 commit 8aec0bbCopy full SHA for 8aec0bb
src/Symfony/Component/Cache/Tests/Adapter/FilesystemAdapterTest.php
@@ -35,6 +35,9 @@ public static function tearDownAfterClass()
35
36
public static function rmdir($dir)
37
{
38
+ if (!file_exists($dir)) {
39
+ return;
40
+ }
41
if (!$dir || 0 !== strpos(dirname($dir), sys_get_temp_dir())) {
42
throw new \Exception(__METHOD__."() operates only on subdirs of system's temp dir");
43
}
0 commit comments