1
0
Fork 0

Issue #2384 allow 'prefer-stable' and 'minimum-stability' to be set via composer config command

pull/4514/head
npiderman 2015-10-17 10:58:53 -04:00
parent a54f84f05f
commit ed23b1c4db
1 changed files with 5 additions and 0 deletions

View File

@ -322,6 +322,11 @@ EOT
'classmap-authoritative' => array($booleanValidator, $booleanNormalizer),
'prepend-autoloader' => array($booleanValidator, $booleanNormalizer),
'github-expose-hostname' => array($booleanValidator, $booleanNormalizer),
'prefer-stable' => array($booleanValidator, $booleanNormalizer),
'minimum-stability' => array(
function ($val) { return in_array($val, array('dev', 'alpha', 'beta', 'RC', 'stable'), true); },
function ($val) { return $val; },
),
);
$multiConfigValues = array(
'github-protocols' => array(