PHPUnit 3.6.12 を Composer でインストールする
PHPUnit 3.6 は PHP 5.2.7 以降のバージョンで動作 (PHP 5.3.9 以降を使うことを強く推奨)。ちなみに、PHPUnit 3.7 は PHP 5.3.3 以降 (PHP 5.4.7 以降を使うことを強く推奨)。
これでいいかな?
composer.json
{ "repositories": [ { "type": "pear", "url": "http://pear.symfony-project.com" }, { "type": "pear", "url": "http://pear.phpunit.de" } ], "require": { "pear-pear.phpunit.de/PHPUnit_MockObject": "1.1.1", "pear-pear.phpunit.de/File_Iterator": "1.3.1", "pear-pear.phpunit.de/PHP_CodeCoverage": "1.1.3", "pear-pear.phpunit.de/PHP_Timer": "1.0.2", "pear-pear.phpunit.de/PHP_TokenStream": "1.1.3", "pear-pear.phpunit.de/Text_Template": "1.1.1", "pear-pear.phpunit.de/PHPUnit": "3.6.12", "pear-pear.phpunit.de/DbUnit": "1.1.2" } }