Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita422dfc

Browse files
bug#52406 [Validator] FixConstraints\Email::ERROR_NAMES (mathroc)
This PR was merged into the 5.4 branch.Discussion----------[Validator] Fix `Constraints\Email::ERROR_NAMES`| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Issues || License | MIT`Constraint\Email::ERROR_NAMES` contains `"STRICT_CHECK_FAILED_ERROR"` but there's no constant with that name, it's `"INVALID_FORMAT_ERROR"`Commits-------be0bc27 fix Constraints\Email::ERROR_NAMES
2 parents4fee3d9 +be0bc27 commita422dfc

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Validator/Constraints

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Validator/Constraints/Email.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Email extends Constraint
3232
publicconstINVALID_FORMAT_ERROR ='bd79c0ab-ddba-46cc-a703-a7a4b08de310';
3333

3434
protectedstatic$errorNames = [
35-
self::INVALID_FORMAT_ERROR =>'STRICT_CHECK_FAILED_ERROR',
35+
self::INVALID_FORMAT_ERROR =>'INVALID_FORMAT_ERROR',
3636
];
3737

3838
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp