Support installing PHPUnit using composer.
authorDaniel Friesen <daniel@nadir-seen-fire.com>
Mon, 3 Jun 2013 10:35:35 +0000 (03:35 -0700)
committerDaniel Friesen <daniel@nadir-seen-fire.com>
Fri, 7 Jun 2013 09:07:27 +0000 (02:07 -0700)
commit2740518620a73d9278a9f78c078dcf0a50bcf3d5
tree7913fd129494b948a5f0f198a9db00c7cf59740d
parent14fa16287a03cfb8f99c4dbfec02390ae8c08080
Support installing PHPUnit using composer.

"phpunit/phpunit" already exists inside our composer.json's "require-dev" however this has been
entirely useless as we don't include the autoloader which would load composer's PHPUnit.

This change begins including composer's autoloader when present and also tweaks phpunit.php
to ensure PHPUnit isn't double loaded. As a result besides supporting PHPUnit via composer this
also means that we're ready to make use of any library we add to our composer.json in the future.

Change-Id: I891740e8fd3d237c5f473862027205d951f564b9
RELEASE-NOTES-1.22
includes/WebStart.php
maintenance/doMaintenance.php
tests/phpunit/phpunit.php