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 2bdcf4ac8f feature #36326 [Validator] Add invalid datetime message in Range validator (przemyslaw-bogusz)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[Validator] Add invalid datetime message in Range validator

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

When the validated value is invalid (it isn't a number nor a datetime), but `min` or `max` option indicate that the `Range` constraint is being used to validate a datetime, the displayed message will be `This value should be a valid datetime` instead of `This value should be a valid number`. This PR replaces #35998.

Commits
-------

c77730699e [Validator] Add invalid datetime message in Range validator
2020-09-24 16:49:32 +02:00
..
Asset Merge branch '5.1' 2020-09-02 18:27:44 +02:00
BrowserKit Increase HttpBrowser::getHeaders() visibility to protected 2020-09-03 22:08:06 -05:00
Cache Merge branch '5.1' into master 2020-09-24 10:13:58 +02:00
Config Fix CS 2020-09-22 11:22:20 +02:00
Console Merge branch '5.1' into master 2020-09-20 09:20:17 +02:00
CssSelector Use ">=" for the "php" requirement 2020-07-05 11:39:30 +02:00
DependencyInjection Added missing changelog entries. 2020-09-18 12:11:46 +02:00
DomCrawler Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Dotenv Merge branch '5.1' 2020-09-02 18:27:44 +02:00
ErrorHandler Merge branch '5.1' 2020-09-08 16:20:09 +02:00
EventDispatcher Merge branch '5.1' into master 2020-09-20 09:20:17 +02:00
ExpressionLanguage Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Filesystem Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Finder Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Form feature #35956 [Form] Added "html5" option to both MoneyType and PercentType (romaricdrigon) 2020-09-24 15:56:19 +02:00
HttpClient Merge branch '5.1' into master 2020-09-20 09:20:17 +02:00
HttpFoundation Merge branch '5.1' 2020-09-13 07:01:37 +02:00
HttpKernel feature #38243 [HttpKernel] Auto-register kernel as an extension (HypeMC) 2020-09-24 16:31:11 +02:00
Inflector Merge branch '5.1' 2020-05-20 19:44:07 +02:00
Intl Merge branch '4.4' into 5.1 2020-09-11 13:43:06 +02:00
Ldap Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Lock Merge branch '5.1' into master 2020-09-24 10:13:58 +02:00
Mailer [Mailer] Added Sendinblue bridge 2020-09-24 16:10:25 +02:00
Messenger Merge branch '5.1' into master 2020-09-24 10:13:58 +02:00
Mime Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Notifier replace expectExceptionMessageRegExp() with expectExceptionMessageMatches() 2020-09-20 09:51:18 +02:00
OptionsResolver Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Process feature #37519 [Process] allow setting options esp. "create_new_console" to detach a subprocess (andrei0x309) 2020-09-08 15:25:06 +02:00
PropertyAccess Merge branch '5.1' 2020-09-02 18:27:44 +02:00
PropertyInfo feature #37559 [PropertyInfo] fix array types with keys (array<string, string>) (digilist) 2020-09-09 07:17:12 +02:00
RateLimiter [RFC] Introduce a RateLimiter component 2020-09-16 15:45:01 +02:00
Routing Added missing changelog entries. 2020-09-18 12:11:46 +02:00
Security Merge branch '5.1' into master 2020-09-20 09:20:17 +02:00
Semaphore Fix semaphore branch-alias 2020-08-31 18:13:25 +02:00
Serializer replace expectExceptionMessageRegExp() with expectExceptionMessageMatches() 2020-09-20 09:51:18 +02:00
Stopwatch Merge branch '3.4' into 4.4 2020-09-02 18:08:58 +02:00
String [String] allow passing null to string functions 2020-09-24 11:57:23 +02:00
Templating Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Translation Merge branch '5.1' into master 2020-09-20 09:20:17 +02:00
Uid Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Validator [Validator] Add invalid datetime message in Range validator 2020-09-24 16:49:16 +02:00
VarDumper Merge branch '5.1' into master 2020-09-20 09:20:17 +02:00
VarExporter Merge branch '5.1' 2020-09-08 16:20:09 +02:00
WebLink Merge branch '5.1' 2020-05-28 10:21:24 +02:00
Workflow Merge branch '5.1' 2020-09-02 18:27:44 +02:00
Yaml Merge branch '5.1' into master 2020-09-20 09:20:17 +02:00