X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2Fincludes%2Fpassword%2FBcryptPasswordTest.php;h=952f541750381832653ab9c286b4602137746a6e;hb=ee56f00ddf0609082f8ae9a4dc3e6e1b6f54ddfd;hp=9b8e01e7726cf605b5eb4b300e7eed72fd552ced;hpb=08e0ed2b70ba5986a96c701f84a7679c98a6f2fd;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/password/BcryptPasswordTest.php b/tests/phpunit/includes/password/BcryptPasswordTest.php index 9b8e01e772..952f541750 100644 --- a/tests/phpunit/includes/password/BcryptPasswordTest.php +++ b/tests/phpunit/includes/password/BcryptPasswordTest.php @@ -10,13 +10,13 @@ class BcryptPasswordTest extends PasswordTestCase { protected function getTypeConfigs() { return [ 'bcrypt' => [ - 'class' => 'BcryptPassword', + 'class' => BcryptPassword::class, 'cost' => 9, ] ]; } public static function providePasswordTests() { - // @codingStandardsIgnoreStart Generic.Files.LineLength + // phpcs:disable Generic.Files.LineLength return [ // Tests from glibc bcrypt implementation [ true, ':bcrypt:5$CCCCCCCCCCCCCCCCCCCCC.$E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW', "U*U" ], @@ -39,6 +39,6 @@ class BcryptPasswordTest extends PasswordTestCase { [ false, ':bcrypt:5$CCCCCCCCCCCCCCCCCCCCC.$E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW', "UXU" ], [ false, ':bcrypt:5$CCCCCCCCCCCCCCCCCCCCC.$E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW', "" ], ]; - // @codingStandardsIgnoreEnd + // phpcs:enable } }