public function __construct() {
parent::__construct();
+ $this->setAllowUnregisteredOptions( true );
$this->addOption(
'with-phpunitclass',
'Class name of the PHPUnit entry point to use',
'Using HHVM ' . HHVM_VERSION . ' (' . PHP_VERSION . ")\n" :
'Using PHP ' . PHP_VERSION . "\n";
- // Prepare global services for unit tests.
- MediaWikiTestCase::prepareServices( new GlobalVarConfig() );
-
$phpUnitClass::main();
}