composer/composer — pull request #2720 by sndpl (2014-02-18 09:51:39+00:00)
Title: Fix for #2601

When the Json Manipulator couldn't manipulate the config the configSource will use the callback function.
The callback functions in expect param 1 to be a reference to $config which raised an error. Added a custom array_unshift_ref function that adds the config as a reference to the args. This should fix #2601.