File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/Symfony/Component/Security/Http/Tests/EventListener Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ protected function setUp(): void
43
43
44
44
/**
45
45
* @dataProvider providePassportWithConstraintBadge
46
+ *
46
47
* @param Constraint[] $constraints
47
48
* @param string[] $violationMessages
48
49
*/
@@ -84,24 +85,25 @@ public function providePassportWithConstraintBadge()
84
85
new NotBlank (),
85
86
new NoSuspiciousCharacters ([
86
87
'checks ' => NoSuspiciousCharacters::CHECK_MIXED_NUMBERS ,
87
- ])
88
+ ]),
88
89
],
89
90
[
90
- 'Mixing numbers from different scripts is not allowed. '
91
+ 'Mixing numbers from different scripts is not allowed. ' ,
91
92
],
92
93
];
93
94
yield [
94
95
'weak password ' ,
95
96
[
96
97
new NotBlank (),
97
98
new Length (['min ' => 16 ]),
98
- new PasswordStrength (['minScore ' => 4 ])
99
+ new PasswordStrength (['minScore ' => 4 ]),
99
100
],
100
101
[
101
102
'This value is too short. It should have 16 characters or more. ' ,
102
- 'The password strength is too low. Please use a stronger password. '
103
+ 'The password strength is too low. Please use a stronger password. ' ,
103
104
],
104
105
];
106
+
105
107
return ;
106
108
}
107
109
You can’t perform that action at this time.
0 commit comments