From: physikerwelt (Moritz Schubotz) Date: Fri, 9 May 2014 10:08:55 +0000 (+0200) Subject: Fix PHPUnit version to 3.7.35 X-Git-Tag: 1.31.0-rc.0~15805 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=3ca5ecb4861c4d1832cdda18ec7833c2ab4ff388;p=lhc%2Fweb%2Fwiklou.git 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 --- 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