Merge "Convert Special:DeletedContributions to use OOUI."
[lhc/web/wiklou.git] / tests / phpunit / languages / classes / LanguageSlTest.php
index 9783dd8..ed138c5 100644 (file)
@@ -13,7 +13,7 @@ class LanguageSlTest extends LanguageClassesTestCase {
         * @covers Language::convertPlural
         */
        public function testPlural( $result, $value ) {
-               $forms = array( 'one', 'two', 'few', 'other' );
+               $forms = [ 'one', 'two', 'few', 'other' ];
                $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
        }
 
@@ -26,19 +26,19 @@ class LanguageSlTest extends LanguageClassesTestCase {
        }
 
        public static function providerPlural() {
-               return array(
-                       array( 'other', 0 ),
-                       array( 'one', 1 ),
-                       array( 'two', 2 ),
-                       array( 'few', 3 ),
-                       array( 'few', 4 ),
-                       array( 'other', 5 ),
-                       array( 'other', 99 ),
-                       array( 'other', 100 ),
-                       array( 'one', 101 ),
-                       array( 'two', 102 ),
-                       array( 'few', 103 ),
-                       array( 'one', 201 ),
-               );
+               return [
+                       [ 'other', 0 ],
+                       [ 'one', 1 ],
+                       [ 'two', 2 ],
+                       [ 'few', 3 ],
+                       [ 'few', 4 ],
+                       [ 'other', 5 ],
+                       [ 'other', 99 ],
+                       [ 'other', 100 ],
+                       [ 'one', 101 ],
+                       [ 'two', 102 ],
+                       [ 'few', 103 ],
+                       [ 'one', 201 ],
+               ];
        }
 }