X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fpassword%2FLayeredParameterizedPasswordTest.php;h=6a965a0387cebf5264f7dcdf94d741df2c9e93d4;hb=e004a14a48579a87bdadb81147f83dbf0a876f34;hp=cf96d0673c71c49cbd4c165a471c514df4f04e0f;hpb=7bb26739ec20082cdce09115ac7a80e15325ec8c;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php b/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php index cf96d0673c..6a965a0387 100644 --- a/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php +++ b/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php @@ -8,7 +8,7 @@ class LayeredParameterizedPasswordTest extends PasswordTestCase { protected function getTypeConfigs() { return [ 'testLargeLayeredTop' => [ - 'class' => 'LayeredParameterizedPassword', + 'class' => LayeredParameterizedPassword::class, 'types' => [ 'testLargeLayeredBottom', 'testLargeLayeredBottom', @@ -18,13 +18,13 @@ class LayeredParameterizedPasswordTest extends PasswordTestCase { ], ], 'testLargeLayeredBottom' => [ - 'class' => 'Pbkdf2Password', + 'class' => Pbkdf2Password::class, 'algo' => 'sha512', 'cost' => 1024, 'length' => 512, ], 'testLargeLayeredFinal' => [ - 'class' => 'BcryptPassword', + 'class' => BcryptPassword::class, 'cost' => 5, ] ]; @@ -35,15 +35,15 @@ class LayeredParameterizedPasswordTest extends PasswordTestCase { } public static function providePasswordTests() { - // @codingStandardsIgnoreStart Generic.Files.LineLength.TooLong + // phpcs:disable Generic.Files.LineLength 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' + 'testPassword123' ], ]; - // @codingStandardsIgnoreEnd + // phpcs:enable } /**