From e85bcc882c09517cf714b32c0af80a4508998bc3 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 6 Dec 2017 11:58:04 +0100 Subject: [PATCH] output used strategy --- src/Composer/Command/DumpAutoloadCommand.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Composer/Command/DumpAutoloadCommand.php b/src/Composer/Command/DumpAutoloadCommand.php index 7410138ef..6c79ef13f 100644 --- a/src/Composer/Command/DumpAutoloadCommand.php +++ b/src/Composer/Command/DumpAutoloadCommand.php @@ -59,7 +59,9 @@ EOT $authoritative = $input->getOption('classmap-authoritative') || $config->get('classmap-authoritative'); $apcu = $input->getOption('apcu') || $config->get('apcu-autoloader'); - if ($optimize || $authoritative) { + if ($authoritative) { + $this->getIO()->writeError('Generating optimized autoload files (authoritative)'); + } elseif ($optimize) { $this->getIO()->writeError('Generating optimized autoload files'); } else { $this->getIO()->writeError('Generating autoload files');