dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add mediastatistics-header-3d"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
languages
/
classes
/
LanguageSkTest.php
diff --git
a/tests/phpunit/languages/classes/LanguageSkTest.php
b/tests/phpunit/languages/classes/LanguageSkTest.php
index
cb8a13b
..
dd9a9ab
100644
(file)
--- a/
tests/phpunit/languages/classes/LanguageSkTest.php
+++ b/
tests/phpunit/languages/classes/LanguageSkTest.php
@@
-13,7
+13,7
@@
class LanguageSkTest extends LanguageClassesTestCase {
* @covers Language::convertPlural
*/
public function testPlural( $result, $value ) {
* @covers Language::convertPlural
*/
public function testPlural( $result, $value ) {
- $forms =
array( 'one', 'few', 'other' )
;
+ $forms =
[ 'one', 'few', 'other' ]
;
$this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
}
$this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
}
@@
-26,17
+26,17
@@
class LanguageSkTest extends LanguageClassesTestCase {
}
public static function providePlural() {
}
public static function providePlural() {
- return
array(
-
array( 'other', 0 )
,
-
array( 'one', 1 )
,
-
array( 'few', 2 )
,
-
array( 'few', 3 )
,
-
array( 'few', 4 )
,
-
array( 'other', 5 )
,
-
array( 'other', 11 )
,
-
array( 'other', 20 )
,
-
array( 'other', 25 )
,
-
array( 'other', 200 )
,
-
)
;
+ return
[
+
[ 'other', 0 ]
,
+
[ 'one', 1 ]
,
+
[ 'few', 2 ]
,
+
[ 'few', 3 ]
,
+
[ 'few', 4 ]
,
+
[ 'other', 5 ]
,
+
[ 'other', 11 ]
,
+
[ 'other', 20 ]
,
+
[ 'other', 25 ]
,
+
[ 'other', 200 ]
,
+
]
;
}
}
}
}