Created
June 4, 2024 16:16
-
-
Save amcsi/d4d277135bc6744c580d4aaffdc8305b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static function provideCreate() | |
{ | |
return [ | |
[new Expectation('The password must be at least 9 characters.', 'pass')], | |
[new Expectation('The password must contain at least one uppercase and one lowercase letter.', 'passwordx')], | |
[new Expectation('The password must contain at least one number.', 'Passwordx')], | |
[new Expectation("Your chosen password is not secure enough: This is a very common password. Add another word or two. Uncommon words are better. Capitalization doesn't help very much.", 'Password1')], | |
[new Expectation("Your chosen password is not secure enough: This is similar to a commonly used password. Add another word or two. Uncommon words are better. Capitalization doesn't help very much. Predictable substitutions like '@' instead of 'a' don't help very much.", 'P@ssw0rd1')], | |
[new Expectation('Your chosen password is not secure enough: Repeats like "abcabcabc" are only slightly harder to guess than "abc". Add another word or two. Uncommon words are better. Avoid repeated words and characters.', 'HiHiHiHi6')], | |
[new Expectation(null, 'teddyBear18')], | |
[new Expectation(null, 'b3dfe3Ofs')], | |
[new Expectation(null, 'adDFadf343')], | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment