Skip to content

Commit fa8f8ca

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Added additional file existence check on temporary file cleanup for dumpFile method fix lexing inline sequences/mappings with trailing whitespaces Added test for issue 39229 [Console] Enable hyperlinks in Konsole/Yakuake
2 parents bb92ba7 + d99fbef commit fa8f8ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Filesystem.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,9 @@ public function dumpFile(string $filename, $content)
667667

668668
$this->rename($tmpFile, $filename, true);
669669
} finally {
670-
@unlink($tmpFile);
670+
if (file_exists($tmpFile)) {
671+
@unlink($tmpFile);
672+
}
671673
}
672674
}
673675

0 commit comments

Comments
 (0)