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:
parent
9110c6413e
commit
72a4146383
6 changed files with 52 additions and 13 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue