From 3ca5ecb4861c4d1832cdda18ec7833c2ab4ff388 Mon Sep 17 00:00:00 2001 From: "physikerwelt (Moritz Schubotz)" Date: Fri, 9 May 2014 12:08:55 +0200 Subject: [PATCH] Fix PHPUnit version to 3.7.35 "MediaWiki tries to require PHPUnit files directly, but the phpunit/phpunit PEAR channel now falls back to the PHAR method (install a single file, /usr/bin/phpunit, with all classes packed inside it)." (from the bug report) Bug: 64597 Change-Id: Ib93b32473ab1a96ea97d90c15fd3675e8ec9843c --- tests/phpunit/install-phpunit.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/install-phpunit.sh b/tests/phpunit/install-phpunit.sh index 1f6029357c..022f998e81 100755 --- a/tests/phpunit/install-phpunit.sh +++ b/tests/phpunit/install-phpunit.sh @@ -20,7 +20,8 @@ else if ( has_binary pear ); then pear channel-discover components.ez.no pear channel-discover pear.symfony.com pear update-channels - pear install --alldeps phpunit/PHPUnit + #Temporary fix for 64597 + pear install --alldeps phpunit/PHPUnit-3.7.35 else if ( has_binary apt-get ); then echo Installing phpunit with apt-get apt-get install phpunit -- 2.20.1