File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 16
16
use Symfony \Component \ExpressionLanguage \ExpressionLanguage ;
17
17
use Symfony \Component \Validator \Constraints \EmailValidator ;
18
18
use Symfony \Component \Validator \Constraints \ExpressionValidator ;
19
+ use Symfony \Component \Validator \Constraints \NoSuspiciousCharactersValidator ;
19
20
use Symfony \Component \Validator \Constraints \NotCompromisedPasswordValidator ;
20
21
use Symfony \Component \Validator \Constraints \WhenValidator ;
21
22
use Symfony \Component \Validator \ContainerConstraintValidatorFactory ;
102
103
'alias ' => WhenValidator::class,
103
104
])
104
105
106
+ ->set ('validator.no_suspicious_characters ' , NoSuspiciousCharactersValidator::class)
107
+ ->args ([param ('kernel.enabled_locales ' )])
108
+ ->tag ('validator.constraint_validator ' , [
109
+ 'alias ' => NoSuspiciousCharactersValidator::class,
110
+ ])
111
+
105
112
->set ('validator.property_info_loader ' , PropertyInfoLoader::class)
106
113
->args ([
107
114
service ('property_info ' ),
Original file line number Diff line number Diff line change 60
60
"symfony/string" : " ^5.4|^6.0" ,
61
61
"symfony/translation" : " ^5.4|^6.0" ,
62
62
"symfony/twig-bundle" : " ^5.4|^6.0" ,
63
- "symfony/validator" : " ^5.4|^6.0 " ,
63
+ "symfony/validator" : " ^6.3 " ,
64
64
"symfony/workflow" : " ^5.4|^6.0" ,
65
65
"symfony/yaml" : " ^5.4|^6.0" ,
66
66
"symfony/property-info" : " ^5.4|^6.0" ,
You can’t perform that action at this time.
0 commit comments