composer/composer — pull request #2004 by jaypea (2013-06-13 13:59:34+00:00)
Title: ArtifactRepository needs recursive iteration 

I wanted to use the ArtifactRepository with satis to find all Artifacts from Jenkins builds.
For this the Iteration on $path needs to be really recursive.
Using the RecursiveDirectoryIterator without the RecursiveIteratorIterator does not find files in subfolders.
To speed things up and avoid opening every file using "new \ZipArchive();" i added an Regex Iterator the game.