doctrine/doctrine2 — pull request #365 by Ocramius (2012-06-09 12:02:13+00:00)
Title: DDC-1860 - Composer arbitrary for CLI and composer/autoload.php in different paths

DDC-1860 - Composer became a requirement to run CLI some time ago. This patch:

1. Makes composer optional if the user defines his own autoloaders in `cli-config.php`
2. Makes the CLI look for `vendor/composer.php` in various parent paths of the `bin` directory.