diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index dda858764..b3d9e76f2 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -123,7 +123,7 @@ EOF; if (0 === strpos($path, dirname($vendorPath), 0)) { // this path seems to be located within this application/package - $path = '/' . $filesystem->findShortestPath(getcwd(), $path, true); + $path = '/' . $filesystem->findShortestPath(getcwd(), $path, true); $classmapFile .= '$baseDir . '; } $classmapFile .= var_export($path, true).",\n";