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 c255c30 commit 4184886Copy full SHA for 4184886
tests/Gitonomy/Git/Tests/AbstractTest.php
@@ -109,7 +109,9 @@ public static function deleteDir($dir)
109
$iterator = new \RecursiveDirectoryIterator($dir, \FilesystemIterator::SKIP_DOTS | \FilesystemIterator::FOLLOW_SYMLINKS);
110
$iterator = new \RecursiveIteratorIterator($iterator, \RecursiveIteratorIterator::CHILD_FIRST);
111
foreach ($iterator as $file) {
112
- chmod($file, 0777);
+ if (!is_link($file)) {
113
+ chmod($file, 0777);
114
+ }
115
if (is_dir($file)) {
116
rmdir($file);
117
} else {
0 commit comments