"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Composer/Command/ConfigCommand.php" between
composer-2.1.2.tar.gz and composer-2.1.3.tar.gz

About: Composer helps you declare, manage, and install dependencies of PHP projects.

ConfigCommand.php  (composer-2.1.2):ConfigCommand.php  (composer-2.1.3)
skipping to change at line 393 skipping to change at line 393
'cache-files-maxsize' => array( 'cache-files-maxsize' => array(
function ($val) { function ($val) {
return preg_match('/^\s*([0-9.]+)\s*(?:([kmg])(?:i?b)?)?\s*$ /i', $val) > 0; return preg_match('/^\s*([0-9.]+)\s*(?:([kmg])(?:i?b)?)?\s*$ /i', $val) > 0;
}, },
function ($val) { function ($val) {
return $val; return $val;
}, },
), ),
'bin-compat' => array( 'bin-compat' => array(
function ($val) { function ($val) {
return in_array($val, array('auto', 'full')); return in_array($val, array('auto', 'full', 'symlink'));
}, },
function ($val) { function ($val) {
return $val; return $val;
}, },
), ),
'discard-changes' => array( 'discard-changes' => array(
function ($val) { function ($val) {
return in_array($val, array('stash', 'true', 'false', '1', ' 0'), true); return in_array($val, array('stash', 'true', 'false', '1', ' 0'), true);
}, },
function ($val) { function ($val) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)