Skip to content

Commit

Permalink
bug #54191 [Validator] add missing invalid extension error entry (xab…
Browse files Browse the repository at this point in the history
…buh)

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
  • Loading branch information
nicolas-grekas committed Mar 13, 2024
2 parents dc4f3fb + 999f713 commit e17b65c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Symfony/Component/Validator/Constraints/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class File extends Constraint
self::EMPTY_ERROR => 'EMPTY_ERROR',
self::TOO_LARGE_ERROR => 'TOO_LARGE_ERROR',
self::INVALID_MIME_TYPE_ERROR => 'INVALID_MIME_TYPE_ERROR',
self::INVALID_EXTENSION_ERROR => 'INVALID_EXTENSION_ERROR',
self::FILENAME_TOO_LONG => 'FILENAME_TOO_LONG',
];

Expand Down

0 comments on commit e17b65c

Please sign in to comment.