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

Appearance settings

Commit e17b65c

Browse filesBrowse files
bug #54191 [Validator] add missing invalid extension error entry (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Validator] add missing invalid extension error entry | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #54170 | License | MIT Commits ------- 999f713 add missing invalid extension error entry
2 parents dc4f3fb + 999f713 commit e17b65c
Copy full SHA for e17b65c

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/File.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class File extends Constraint
4141
self::EMPTY_ERROR => 'EMPTY_ERROR',
4242
self::TOO_LARGE_ERROR => 'TOO_LARGE_ERROR',
4343
self::INVALID_MIME_TYPE_ERROR => 'INVALID_MIME_TYPE_ERROR',
44+
self::INVALID_EXTENSION_ERROR => 'INVALID_EXTENSION_ERROR',
4445
self::FILENAME_TOO_LONG => 'FILENAME_TOO_LONG',
4546
];
4647

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.