diff --git a/src/PathPreserver.php b/src/PathPreserver.php index 8cac857..fecf548 100644 --- a/src/PathPreserver.php +++ b/src/PathPreserver.php @@ -99,7 +99,7 @@ public function preserve() continue; } - $unique = $installPath.' '.time(); + $unique = $installPath.' '.uniqid('', true); $cacheRoot = $this->filesystem->normalizePath($this->cacheDir.'/preserve-paths/'.sha1($unique)); $this->filesystem->ensureDirectoryExists($cacheRoot);