aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php
diff options
context:
space:
mode:
authorReedy <reedy@wikimedia.org>2016-03-19 01:05:19 +0000
committerLegoktm <legoktm.wikipedia@gmail.com>2016-03-30 22:04:58 +0000
commit83fb19cb13f3485cfde25f550b8fc81fb9c61b95 (patch)
tree81df7980227b6f445e2f39e96cb38fb8cf166fdf /tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php
parent9496297a0e8c59013d90d0455832f52ca278541c (diff)
downloadmediawikicore-83fb19cb13f3485cfde25f550b8fc81fb9c61b95.tar.gz
mediawikicore-83fb19cb13f3485cfde25f550b8fc81fb9c61b95.zip
Swap the rest of array() -> []
Change-Id: I76a7259ed952a0673a1941f08b39b545211fba07
Diffstat (limited to 'tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php')
-rw-r--r--tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php b/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php
index cccec5fb5c05..773f033abb8c 100644
--- a/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php
+++ b/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php
@@ -28,9 +28,13 @@ class LayeredParameterizedPasswordTest extends PasswordTestCase {
public static function providePasswordTests() {
// @codingStandardsIgnoreStart Generic.Files.LineLength.TooLong
- return array(
- array( true, ':testLargeLayeredTop:sha512:1024:512!sha512:1024:512!sha512:1024:512!sha512:1024:512!5!vnRy+2SrSA0fHt3dwhTP5g==!AVnwfZsAQjn+gULv7FSGjA==!xvHUX3WcpkeSn1lvjWcvBg==!It+OC/N9tu+d3ByHhuB0BQ==!Tb.gqUOiD.aWktVwHM.Q/O!7CcyMfXUPky5ptyATJsR2nq3vUqtnBC', 'testPassword123' ),
- );
+ return [
+ [
+ true,
+ ':testLargeLayeredTop:sha512:1024:512!sha512:1024:512!sha512:1024:512!sha512:1024:512!5!vnRy+2SrSA0fHt3dwhTP5g==!AVnwfZsAQjn+gULv7FSGjA==!xvHUX3WcpkeSn1lvjWcvBg==!It+OC/N9tu+d3ByHhuB0BQ==!Tb.gqUOiD.aWktVwHM.Q/O!7CcyMfXUPky5ptyATJsR2nq3vUqtnBC',
+ 'testPassword123'
+ ],
+ ];
// @codingStandardsIgnoreEnd
}