diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index 59c8a719c..c4c172898 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -530,10 +530,10 @@ REGISTER_AUTOLOAD; REGISTER_LOADER; if ($useIncludeFiles) { - $file .= <<<'INCLUDE_FILES' - $includeFiles = require __DIR__ . '/autoload_files.php'; - foreach ($includeFiles as $file) { - \Composer\Autoload\includeFile($file); + $file .= <<