1
0
Fork 0

Fix access to undefined var, refs #4422

pull/4431/head
Jordi Boggiano 2015-09-20 17:38:37 +01:00
parent 8f44f9cc67
commit 1e8d7255b7
2 changed files with 4 additions and 4 deletions

View File

@ -101,8 +101,8 @@ EOT
$install = Installer::create($io, $composer);
$updateDevMode = !$input->getOption('update-no-dev');
$optimize = $input->getOption('optimize-autoloader') || $config->get('optimize-autoloader');
$authoritative = $input->getOption('classmap-authoritative') || $config->get('classmap-authoritative');
$optimize = $input->getOption('optimize-autoloader') || $composer->getConfig()->get('optimize-autoloader');
$authoritative = $input->getOption('classmap-authoritative') || $composer->getConfig()->get('classmap-authoritative');
$install
->setVerbose($input->getOption('verbose'))

View File

@ -135,8 +135,8 @@ EOT
return 0;
}
$updateDevMode = !$input->getOption('update-no-dev');
$optimize = $input->getOption('optimize-autoloader') || $config->get('optimize-autoloader');
$authoritative = $input->getOption('classmap-authoritative') || $config->get('classmap-authoritative');
$optimize = $input->getOption('optimize-autoloader') || $composer->getConfig()->get('optimize-autoloader');
$authoritative = $input->getOption('classmap-authoritative') || $composer->getConfig()->get('classmap-authoritative');
// Update packages
$this->resetComposer();