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.
1 parent 39df9e4 commit 9ca22e9Copy full SHA for 9ca22e9
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