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 "DidYouMeanWidget: Don't use deprecated Linker::linkKnown()"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
TitleArrayFromResultTest.php
diff --git
a/tests/phpunit/includes/TitleArrayFromResultTest.php
b/tests/phpunit/includes/TitleArrayFromResultTest.php
index
f06208b
..
7c2973f
100644
(file)
--- a/
tests/phpunit/includes/TitleArrayFromResultTest.php
+++ b/
tests/phpunit/includes/TitleArrayFromResultTest.php
@@
-65,11
+65,11
@@
class TitleArrayFromResultTest extends PHPUnit_Framework_TestCase {
}
public static function provideNumberOfRows() {
}
public static function provideNumberOfRows() {
- return
array(
-
array( 0 )
,
-
array( 1 )
,
-
array( 122 )
,
-
)
;
+ return
[
+
[ 0 ]
,
+
[ 1 ]
,
+
[ 122 ]
,
+
]
;
}
/**
}
/**
@@
-98,10
+98,10
@@
class TitleArrayFromResultTest extends PHPUnit_Framework_TestCase {
}
public function provideTestValid() {
}
public function provideTestValid() {
- return
array(
-
array( $this->getRowWithTitle(), true )
,
-
array( false, false )
,
-
)
;
+ return
[
+
[ $this->getRowWithTitle(), true ]
,
+
[ false, false ]
,
+
]
;
}
/**
}
/**