This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier f065c416cf feature #32373 [Validator] Change Length::$allowEmptyString default to false & make it optional (ogizanagi)
This PR was merged into the 5.0-dev branch.

Discussion
----------

[Validator] Change Length::$allowEmptyString default to false & make it optional

| Q             | A
| ------------- | ---
| Branch?       | master <!-- see below -->
| Bug fix?      | no
| New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | yes     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | should pass after #32372    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #31528   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | ~TODO: change default value and mention it's optional~ Done. Thx @javiereguiluz

Commits
-------

26b804e82d [Validator] Change Length::$allowEmptyString default to false & make it optional
2019-07-05 06:31:41 +02:00
..
Asset [Asset] Add type-hints to public interfaces 2019-06-29 08:09:27 +02:00
BrowserKit Replace @return annotation by return type in final classes 2019-06-23 00:57:33 +02:00
Cache minor #32298 [Cache] finish type-hints (Tobion) 2019-07-02 16:51:24 +02:00
Config [Config] Add type-hints to public interfaces and classes 2019-06-29 08:48:44 +02:00
Console Merge branch '4.4' 2019-06-27 19:56:41 +02:00
CssSelector Bump Symfony 5.0 to PHP 7.2 2019-05-28 18:49:20 +02:00
Debug Merge branch '4.4' 2019-06-29 09:08:25 +02:00
DependencyInjection Merge branch '4.4' 2019-07-04 15:54:52 +02:00
DomCrawler Merge branch '4.4' 2019-07-04 15:54:52 +02:00
Dotenv Merge branch '4.4' 2019-06-26 11:36:22 +02:00
ErrorCatcher Merge branch '4.4' 2019-07-04 18:11:08 +02:00
EventDispatcher fix merge 2019-06-27 21:25:51 +02:00
ExpressionLanguage [ExpressionLanguage] [5.0] add type-hints whenever possible 2019-07-04 08:59:44 +02:00
Filesystem Merge branch '4.4' 2019-07-04 15:54:52 +02:00
Finder Merge branch '4.4' 2019-06-28 15:34:46 +02:00
Form [Validator] Change Length::$allowEmptyString default to false & make it optional 2019-07-04 17:43:30 +02:00
HttpClient Merge branch '4.4' 2019-07-04 15:54:52 +02:00
HttpFoundation Merge branch '4.4' 2019-07-04 15:54:52 +02:00
HttpKernel Merge branch '4.4' 2019-07-04 15:54:52 +02:00
Inflector Merge branch '4.4' 2019-05-30 15:57:29 +02:00
Intl feature #31996 [5.0] Add return types in final classes (dFayet) 2019-06-23 23:15:46 +01:00
Ldap Merge branch '4.4' 2019-07-04 15:54:52 +02:00
Lock Merge branch '4.4' 2019-07-04 15:54:52 +02:00
Mailer Merge branch '4.4' 2019-07-02 16:48:44 +02:00
Messenger Merge branch '4.4' 2019-07-04 18:32:02 +02:00
Mime Merge branch '4.4' 2019-07-04 15:54:52 +02:00
OptionsResolver [OptionResolver] Add type-hints to OptionResolver class 2019-06-27 23:14:10 +02:00
Process Merge branch '4.4' 2019-06-26 11:36:22 +02:00
PropertyAccess Merge branch '4.4' 2019-07-04 15:54:52 +02:00
PropertyInfo Merge branch '4.4' 2019-07-04 15:54:52 +02:00
Routing [Routing] Add type-hints RequestContext and Route classes. 2019-06-28 14:36:16 +02:00
Security minor #32351 [Security] Added type-hints to auth providers, tokens and voters (derrabus) 2019-07-04 09:59:27 +02:00
Serializer Merge branch '4.4' 2019-07-02 16:48:44 +02:00
Stopwatch Bump Symfony 5.0 to PHP 7.2 2019-05-28 18:49:20 +02:00
Templating Merge branch '4.4' 2019-05-30 18:12:02 +02:00
Translation Merge branch '4.4' 2019-06-13 13:15:36 +02:00
Validator [Validator] Change Length::$allowEmptyString default to false & make it optional 2019-07-04 17:43:30 +02:00
VarDumper Merge branch '4.4' 2019-06-27 19:56:41 +02:00
VarExporter Merge branch '4.4' 2019-06-26 11:36:22 +02:00
WebLink Replace @return annotation by return type in final classes 2019-06-23 00:57:33 +02:00
Workflow [Workflow] Remove DefinitionBuilder::setInitialPlace() 2019-07-01 10:10:14 +02:00
Yaml drop support for mappings in multi-line blocks 2019-05-31 12:46:22 +02:00