X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fpassword%2FBcryptPasswordTest.php;h=d90567f6cc1d453dcd6c91ea8b3dff9b8fc4969e;hb=e386a46eb352e3dd2e07a37f06b5303c7341eaf1;hp=4d5c78ac58c71c8d3a3c744fbc6f6814b0283f1f;hpb=5bd9d408c59b3bd0a39cc528bf2cabd7c3c40eb9;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/password/BcryptPasswordTest.php b/tests/phpunit/includes/password/BcryptPasswordTest.php index 4d5c78ac58..d90567f6cc 100644 --- a/tests/phpunit/includes/password/BcryptPasswordTest.php +++ b/tests/phpunit/includes/password/BcryptPasswordTest.php @@ -11,8 +11,8 @@ class BcryptPasswordTestCase extends PasswordTestCase { ) ); } - public function providePasswordTests() { - /** @codingStandardsIgnoreStart Generic.Files.LineLength.TooLong */ + public static function providePasswordTests() { + // @codingStandardsIgnoreStart Generic.Files.LineLength return array( // Tests from glibc bcrypt implementation array( true, ':bcrypt:5$CCCCCCCCCCCCCCCCCCCCC.$E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW', "U*U" ), @@ -35,6 +35,6 @@ class BcryptPasswordTestCase extends PasswordTestCase { array( false, ':bcrypt:5$CCCCCCCCCCCCCCCCCCCCC.$E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW', "UXU" ), array( false, ':bcrypt:5$CCCCCCCCCCCCCCCCCCCCC.$E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW', "" ), ); - /** @codingStandardsIgnoreEnd */ + // @codingStandardsIgnoreEnd } }