Fix issue where none root composer.json could be used by ArtifactRepository http://www.php.net/manual/en/ziparchive.locatename.php#85512
Improved variable name.
replaceVersion() method added
Comment fix
Fix for #2613, when using  php < 5.4 there was an unnecessary backslash before each utf-8 char.  The problem was that the regexp matched all utf-8 encoded chars (included the ones that where escaped). The new regexp uses the lookbehind feature to check if the backslash isn't prefixed with an other backslash.
Fix for #2613, when using  php < 5.4 there was an unnecessary backslash before each utf-8 char.  The problem was that the regexp matched all utf-8 encoded chars (included the ones that where escaped). The new regexp uses the lookbehind feature to check if the backslash isn't prefixed with an other backslash.
Added extra unit test from the example in the ticket.
Merge pull request #2584 from Cinderella-Man/version-setter

Package version setter
Fix for #2494, don't retrieve svn log when the references don't contain a reference number.
Merge remote-tracking branch 'sndpl/issue/2494'
Wording tweaks, refs #2728
Fixed #2601, the callback functions expect param 1 to be a reference to the $config
Fixed docblock
Merge pull request #2718 from sndpl/issue/2613

Fix for #2613
Moved tests that are expected to work into their own directory.
Added test for composer.json in incorrect directory.
Moved file back to correct location. (+1 squashed commit)
Squashed commits:
[eec32aa] Updated detection to only allow composer.josn in root or first level dir.
Added comment for generating files.
Added explanation of why loop continues.
Merge pull request #2188 from Danack/GetRootComposerJson

Find root composer.json in zip artifact more reliably.
Whitelist packages with names matching those specified before generating rules

Addresses #2690 doesn't do any performance optimisations yet which we
could do now