1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 09:32:55 +00:00

Updating ConfigCommand so that we can set github-domains from the command line.

This commit is contained in:
Gennady Feldman 2013-10-28 12:23:06 -04:00
parent 7148b22414
commit f8376a5b34

View file

@ -308,6 +308,18 @@ EOT
return $vals;
}
),
'github-domains' => array(
function ($vals) {
if (!is_array($vals)) {
return 'array expected';
}
return true;
},
function ($vals) {
return $vals;
}
),
);
foreach ($uniqueConfigValues as $name => $callbacks) {