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/Validator
Fabien Potencier e6cfa9a357 feature #21106 [Validator] support DateTimeInterface instances for times (xabbuh)
This PR was merged into the 3.3-dev branch.

Discussion
----------

[Validator] support DateTimeInterface instances for times

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

The same has already been done for the `Date` and `DateTime` constraints in #18759.

Commits
-------

1fa9276937 support DateTimeInterface instances for times
2017-01-02 12:08:39 -08:00
..
Constraints support DateTimeInterface instances for times 2016-12-30 11:58:06 +01:00
Context Merge branch '2.8' into 3.2 2016-11-29 09:26:13 +01:00
Exception removed @since 2016-07-04 07:27:33 +02:00
Mapping Merge branch '3.1' into 3.2 2016-12-27 11:44:30 +01:00
Resources/translations Merge branch '2.7' into 2.8 2017-01-02 15:44:49 +01:00
Test Avoid phpunit 5.4 warnings on getMock 2016-06-21 10:07:44 +02:00
Tests support DateTimeInterface instances for times 2016-12-30 11:58:06 +01:00
Util CS: apply rules 2016-11-03 08:44:53 +01:00
Validator Merge branch '3.1' into 3.2 2016-12-27 11:44:30 +01:00
Violation Merge branch '2.8' into 3.1 2016-12-27 11:43:25 +01:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md Move Constraint validator test case to Test namespace 2016-06-15 16:32:29 +02:00
composer.json updated version to 3.3 2016-11-19 12:35:20 -08:00
Constraint.php Merge branch '2.7' into 2.8 2016-10-03 08:49:46 -07:00
ConstraintValidator.php FIXED NON EXISTING TYPE DECLARATION 2016-12-05 19:31:46 +01:00
ConstraintValidatorFactory.php [Validator] remove obsolete context and PropertyAccess code 2016-02-06 08:05:29 +01:00
ConstraintValidatorFactoryInterface.php removed unneeded use statements 2014-01-01 08:52:14 +01:00
ConstraintValidatorInterface.php [Validator] removed deprecated methods 2015-10-01 16:20:47 +02:00
ConstraintViolation.php Merge branch '2.8' into 3.0 2016-06-29 07:40:00 +02:00
ConstraintViolationInterface.php Merge branch '2.8' into 3.0 2016-06-29 07:40:00 +02:00
ConstraintViolationList.php removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
ConstraintViolationListInterface.php removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
GroupSequenceProviderInterface.php fixed CS 2012-07-09 14:54:20 +02:00
LICENSE Update copyright year 2016-01-01 23:53:47 -03:00
ObjectInitializerInterface.php remove api tags from code 2015-09-28 19:11:22 +02:00
phpunit.xml.dist Add missing exclusions from phpunit.xml.dist 2015-11-18 09:19:46 +01:00
README.md Update documentation link to the component 2016-11-25 11:12:25 +01:00
Validation.php Merge branch '2.8' into 3.0 2016-06-29 07:40:00 +02:00
ValidatorBuilder.php [FrameworkBundle] Introduce a cache warmer for Validator based on PhpArrayAdapter 2016-08-11 14:01:30 +02:00
ValidatorBuilderInterface.php Merge branch '2.8' into 3.1 2016-12-27 11:43:25 +01:00

Validator Component

The Validator component provides tools to validate values following the JSR-303 Bean Validation specification.

Resources