composer/composer — pull request #1247 by cs278 (2012-10-22 20:43:16+00:00)
Title: Fix handling of legacy Composer repositories

When attempting to load packages from a repo using the legacy format Composer falls over with an ErrorException.

```
Loading composer repositories with package information

[ErrorException]
Invalid argument supplied for foreach()

Exception trace:
() at src/Composer/Repository/ComposerRepository.php:122
…
```