From 0b649b04186690e8c733c55714418dd6fb798ab5 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Tue, 3 Jan 2012 10:58:28 +0100 Subject: [PATCH] Revert "Remove superfluous code." This reverts commit 638ddb2533de309b5a370c4a34afad26de532f52. --- phpunit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpunit.php b/phpunit.php index 8c8e5c5ab00..7dcb43d589b 100755 --- a/phpunit.php +++ b/phpunit.php @@ -35,6 +35,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ +define('PHPUnit_MAIN_METHOD', 'PHPUnit_TextUI_Command::main'); + if (strpos('@php_bin@', '@php_bin') === 0) { require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'PHPUnit' . DIRECTORY_SEPARATOR . 'Autoload.php'; } else {