diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index 3ddd7cb9d..7f79f3251 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/src/Composer/Command/ConfigCommand.php @@ -466,16 +466,6 @@ EOT }, ), ); - $uniqueOrDotNestedArray = array( - 'preferred-install' => array( - function ($val) { - return in_array($val, array('auto', 'source', 'dist'), true); - }, - function ($val) { - return $val; - }, - ), - ); if ($input->getOption('unset') && (isset($uniqueConfigValues[$settingKey]) || isset($multiConfigValues[$settingKey]))) { if ($settingKey === 'disable-tls' && $this->config->get('disable-tls')) {