1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00

Scratch 'prefer-source'; 'preferred-install' is the bee's knees

This commit is contained in:
Miklós Márton 2013-03-05 12:56:09 +01:00
parent 9110c6413e
commit 72a4146383
6 changed files with 52 additions and 13 deletions

View file

@ -258,9 +258,9 @@ EOT
$booleanValidator,
$booleanNormalizer
),
'prefer-source' => array(
$booleanValidator,
$booleanNormalizer
'preferred-install' => array(
function ($val) { return in_array($val, array('auto', 'source', 'dist'), true); },
function ($val) { return $val; }
),
'notify-on-install' => array(
$booleanValidator,