From fd61a21bffb191a00980c64266ced43a820376e7 Mon Sep 17 00:00:00 2001 From: Narration SD Date: Wed, 24 Jan 2018 10:04:09 +0100 Subject: [PATCH] Fix detection of junction points, fixes #7025 --- src/Composer/Util/Filesystem.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index 39c953a50..9e0e37279 100644 --- a/src/Composer/Util/Filesystem.php +++ b/src/Composer/Util/Filesystem.php @@ -665,6 +665,7 @@ class Filesystem * Stat cache should be cleared before to avoid accidentally reading wrong information from previous installs. */ clearstatcache(true, $junction); + clearstatcache(false); $stat = lstat($junction); return !($stat['mode'] & 0xC000);