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 2e286f8

Browse filesBrowse files
committed
minor #23907 [Validator] Add a property tag for File::$maxSize (issei-m)
This PR was merged into the 2.7 branch. Discussion ---------- [Validator] Add a property tag for File::$maxSize | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget updating UPGRADE-*.md files --> | Tests pass? | Not confirmed (because minor change) | Fixed tickets | - | License | MIT | Doc PR | - For helping IDE to static analyze. Commits ------- b72ced2 [Validator] Add a property tag for File::$maxSize
2 parents 0bbdd88 + b72ced2 commit 2e286f8
Copy full SHA for 2e286f8

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
  • src/Symfony/Component/Validator/Constraints
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/File.php
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* @Annotation
1919
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
2020
*
21+
* @property int $maxSize
22+
*
2123
* @author Bernhard Schussek <bschussek@gmail.com>
2224
*/
2325
class File extends Constraint

0 commit comments

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