diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index f9931ffa8..c6e56e97f 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/src/Composer/Command/ConfigCommand.php @@ -288,7 +288,7 @@ EOT 'disable-tls' => array($booleanValidator, $booleanNormalizer), 'cafile' => array( function ($val) { return file_exists($val) && is_readable($val); } - function ($val) { return $val; } + function ($val) { return $val === 'null' ? null : $val; } ) ); $multiConfigValues = array(