1
0
Fork 0

Support for 'prefer-source' config setting, refs #553

pull/1658/head
Miklós Márton 2013-03-04 20:27:59 +01:00
parent c92c69b10e
commit 0f8530ef56
2 changed files with 5 additions and 0 deletions

View File

@ -255,6 +255,10 @@ EOT
function ($val) { return in_array($val, array('true', 'false', '1', '0'), true); },
function ($val) { return $val !== 'false' && (bool) $val; }
),
'prefer-source' => array(
function ($val) { return in_array($val, array('true', 'false', '1', '0'), true); },
function ($val) { return $val !== 'false' && (bool) $val; }
),
'notify-on-install' => array(
function ($val) { return in_array($val, array('true', 'false', '1', '0'), true); },
function ($val) { return $val !== 'false' && (bool) $val; }

View File

@ -22,6 +22,7 @@ class Config
public static $defaultConfig = array(
'process-timeout' => 300,
'use-include-path' => false,
'prefer-source' => false,
'notify-on-install' => true,
'github-protocols' => array('git', 'https', 'http'),
'vendor-dir' => 'vendor',