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/Tests
Fabien Potencier c1467446ad feature #26555 [Validator] Add constraint on unique elements collection(Assert\Unique) (zenmate, nicolas-grekas)
This PR was merged into the 4.3-dev branch.

Discussion
----------

[Validator] Add constraint on unique elements collection(Assert\Unique)

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #26535
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

d0eb13e55a Rebase and update to latest CS
fc66683cf2 Add UniqueCollection constraint and validator
2019-03-25 12:42:44 +01:00
..
Constraints Rebase and update to latest CS 2019-03-13 16:47:52 +01:00
DataCollector switched array() to [] 2019-01-16 10:39:14 +01:00
DependencyInjection fixed CS 2019-01-16 21:35:37 +01:00
Fixtures Apply php-cs-fixer rule for array_key_exists() 2019-02-23 16:06:07 +01:00
Mapping Merge branch '4.2' 2019-03-15 14:38:03 +01:00
Resources Enable the fixer enforcing fully-qualified calls for compiler-optimized functions 2018-07-24 12:05:38 +02:00
Util switched array() to [] 2019-01-16 10:39:14 +01:00
Validator [Form] ensure compatibility with older PHPUnit mocks 2019-01-25 10:38:07 +01:00
ConstraintTest.php Merge branch '4.2' into short-array-master 2019-01-16 22:53:39 +01:00
ConstraintViolationListTest.php switched array() to [] 2019-01-16 10:39:14 +01:00
ConstraintViolationTest.php switched array() to [] 2019-01-16 10:39:14 +01:00
ContainerConstraintValidatorFactoryTest.php do not mock the container builder in tests 2018-02-14 11:03:57 +01:00
ValidatorBuilderTest.php Merge branch '4.1' into 4.2 2019-01-16 21:31:39 +01:00