Merge "Deprecating: Consolidating `progressive` & `constructive` buttons"
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiLangTestCase.php
index 1131385..214bcc1 100644 (file)
@@ -4,7 +4,6 @@
  * Base class that store and restore the Language objects
  */
 abstract class MediaWikiLangTestCase extends MediaWikiTestCase {
-
        protected function setUp() {
                global $wgLanguageCode, $wgContLang;
                parent::setUp();
@@ -22,11 +21,11 @@ abstract class MediaWikiLangTestCase extends MediaWikiTestCase {
                $langCode = 'en'; # For mainpage to be 'Main Page'
                $langObj = Language::factory( $langCode );
 
-               $this->setMwGlobals( array(
+               $this->setMwGlobals( [
                        'wgLanguageCode' => $langCode,
                        'wgLang' => $langObj,
                        'wgContLang' => $langObj,
-               ) );
+               ] );
 
                MessageCache::singleton()->disable();
        }