From 92b25acce05522a98cfd9eef0e42de126f71b326 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 9 Mar 2017 09:41:22 +0100 Subject: [PATCH] Fix config value used for apcu-autoloader in dump-autoload command, fixes #6237 --- src/Composer/Command/DumpAutoloadCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/DumpAutoloadCommand.php b/src/Composer/Command/DumpAutoloadCommand.php index 7e7aef748..7410138ef 100644 --- a/src/Composer/Command/DumpAutoloadCommand.php +++ b/src/Composer/Command/DumpAutoloadCommand.php @@ -57,7 +57,7 @@ EOT $optimize = $input->getOption('optimize') || $config->get('optimize-autoloader'); $authoritative = $input->getOption('classmap-authoritative') || $config->get('classmap-authoritative'); - $apcu = $input->getOption('apcu') || $config->get('apcu'); + $apcu = $input->getOption('apcu') || $config->get('apcu-autoloader'); if ($optimize || $authoritative) { $this->getIO()->writeError('Generating optimized autoload files');