https://bugzilla.wikimedia.org/show_bug.cgi?id=64597
Bug ID: 64597
Summary: phpunit 4.0.17 Version.php not found
Product: MediaWiki-Vagrant
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
I have set a up a new VM with latest versions of vagrant and virtualbox to
reproduce an error originally reported by Etienne.
running vagrant up worked without issues and installed phpunit 4.0.17 from
pear. (Which will be unsupported from Dec'14 on)
However, the phpunit.php file within mediawiki does not work. See error
messsage below:
vagrant@mediawiki-vagrant:/vagrant/mediawiki/tests/phpunit$ ./phpunit.php
--version
PHP Warning: require_once(PHPUnit/Runner/Version.php): failed to open stream:
No such file or directory in /vagrant/mediawiki/tests/phpunit/phpunit.php on
line 108
PHP Stack trace:
PHP 1. {main}() /vagrant/mediawiki/tests/phpunit/phpunit.php:0
Warning: require_once(PHPUnit/Runner/Version.php): failed to open stream: No
such file or directory in /vagrant/mediawiki/tests/phpunit/phpunit.php on line
108
Call Stack:
0.0020 680640 1. {main}()
/vagrant/mediawiki/tests/phpunit/phpunit.php:0
PHP Fatal error: require_once(): Failed opening required
'PHPUnit/Runner/Version.php' (include_path='.:/usr/share/php:/usr/share/pear')
in /vagrant/mediawiki/tests/phpunit/phpunit.php on line 108
PHP Stack trace:
PHP 1. {main}() /vagrant/mediawiki/tests/phpunit/phpunit.php:0
Fatal error: require_once(): Failed opening required
'PHPUnit/Runner/Version.php' (include_path='.:/usr/share/php:/usr/share/pear')
in /vagrant/mediawiki/tests/phpunit/phpunit.php on line 108
Call Stack:
0.0020 680640 1. {main}()
/vagrant/mediawiki/tests/phpunit/phpunit.php:0
vagrant@mediawiki-vagrant:/vagrant/mediawiki/tests/phpunit$ phpunit --version
PHPUnit 4.0.17 by Sebastian Bergmann.
You have installed PHPUnit via PEAR. This installation method is no longer
supported and http://pear.phpunit.de/ will be shut down no later than
December, 31 2014.
Please read http://phpunit.de/manual/current/en/installation.html and
learn how to use PHPUnit from a PHAR or install it via Composer.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l