diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index 88a6123a1..93394e2c7 100644 --- a/src/Composer/Util/Filesystem.php +++ b/src/Composer/Util/Filesystem.php @@ -516,7 +516,7 @@ class Filesystem { $cwd = getcwd(); - $relativePath = $this->filesystem->findShortestPath($link, $target); + $relativePath = $this->findShortestPath($link, $target); chdir(dirname($link)); $result = @symlink($relativePath, $link);