Skip to content

Commit 748ccd8

Browse files
Merge branch '5.4' into 6.4
* 5.4: [Filesystem] Fix Filesystem::remove() on Windows [DoctrineBridge] Fix compat with DI >= 6.4 [String] Fix *String::snake methods
2 parents 4d37529 + 6a03d7f commit 748ccd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Filesystem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private static function doRemove(array $files, bool $isRecursive): void
172172
}
173173
} elseif (is_dir($file)) {
174174
if (!$isRecursive) {
175-
$tmpName = \dirname(realpath($file)).'/.'.strrev(strtr(base64_encode(random_bytes(2)), '/=', '-_'));
175+
$tmpName = \dirname(realpath($file)).'/.!'.strrev(strtr(base64_encode(random_bytes(2)), '/=', '-!'));
176176

177177
if (file_exists($tmpName)) {
178178
try {

0 commit comments

Comments
 (0)