Skip to content

Commit e17b65c

Browse 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

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines 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)