sebastianbergmann/phpunit — pull request #668 by simensen (2012-09-24 19:40:13+00:00)
Title: Mimic Composer's formula for locating autoload.php

The Composer bin's setup was only allowing the Composer bin to be run when it was installed as a dependency. This change will allow for someone to execute `composer/bin/phpunit` from a development version of phpunit in addition to it being installed as a dependency.

My preferred way to install phpunit via composer would be something like this:

composer create-project phpunit/phpunit ~/phpunit-3.7.1 '3.7.1'

This creates a fresh version of phpunit at version 3.7.1 and will allow me to create a symlink from `~/bin/phpunit-3.7.1` to `~/phpunit-3.7.1/composer/bin/phpunit`. This was not working prior to this fix.

There are of course many ways to do this. If there are objections to this exact implementation I'd be happy to take suggestions on how to change this so that it would be acceptable.

Super happy for the official support of Composer by phpunit. :)