X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FMediaWikiTestCase.php;h=3742a54618b1e0c1376dc7de909936968508fb3f;hb=928c8c401da84de2cf4593ad673c13151813a49e;hp=723f12090e32c6d69f40b8bc2ce798dbccd1fe29;hpb=e6ca9437b1cb4426fa1d6da9f85edf7fa3d068ff;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/MediaWikiTestCase.php b/tests/phpunit/MediaWikiTestCase.php index 723f12090e..3742a54618 100644 --- a/tests/phpunit/MediaWikiTestCase.php +++ b/tests/phpunit/MediaWikiTestCase.php @@ -353,7 +353,7 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase { } // NOTE; some things such as Closures are not serializable // in this case just set the value! - catch( Exception $e ) { + catch ( Exception $e ) { $this->mwGlobals[$globalKey] = $GLOBALS[$globalKey]; } } @@ -586,9 +586,6 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase { */ public function __call( $func, $args ) { static $compatibility = array( - 'assertInternalType' => 'assertType', // assertInternalType was added in phpunit 3.5.0 - 'assertNotInternalType' => 'assertNotType', // assertNotInternalType was added in phpunit 3.5.0 - 'assertInstanceOf' => 'assertType', // assertInstanceOf was added in phpunit 3.5.0 'assertEmpty' => 'assertEmpty2', // assertEmpty was added in phpunit 3.7.32 );