Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #53620 [Validator] Fix option filenameMaxLength to the File const…
…raint (Image) (mindaugasvcs) This PR was merged into the 6.4 branch. Discussion ---------- [Validator] Fix option filenameMaxLength to the File constraint (Image) | Q | A | ------------- | --- | Branch? | 6.4<!-- see below --> | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | ... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT Recent addition of [filenameMaxLength] option to File constraint added a new error message key to ERROR_NAMES array but that change was not reflected in child class Image, so it just adds missing self::FILENAME_TOO_LONG => 'FILENAME_TOO_LONG' item to ERROR_NAMES array in Image constraint. Commits ------- 6d15121 Fix option filenameMaxLength to the File constraint (Image)
- Loading branch information