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 70686ac7b3 merged branch franmomu/update_deprecated_calls_collection_validator (PR #6741)
This PR was merged into the master branch.

Commits
-------

9264431 Remove custom error handler for deprecations
c80c17e Change deprecated Min constraint to Range constraint
a39fdd8 Remove getPropertyPath in the tests
ffa4c6f [Validator][Constraints] CollectionValidator

Discussion
----------

[Validator][Constraints] Update CollectionValidator using new Validator API

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #6648
License of the code: MIT

In the tests `$i = 1` is because in `validate` the first call to `$this->context` is `$this->context->getGroup();`, should I write this in a comment before each declaration?

---------------------------------------------------------------------------

by stof at 2013-01-15T21:50:41Z

You should also modify the CollectionValidator tests to use a different constraint than ``Min`` which is deprecated. Once it is done, these tests should not need to register a custom error handler catching deprecations anymore

---------------------------------------------------------------------------

by franmomu at 2013-01-15T22:33:43Z

Perfect, I'm going to do the same in #6743
2013-01-24 10:29:51 +01:00
..
BrowserKit Merge branch '2.1' 2013-01-17 16:25:59 +01:00
ClassLoader Merge branch '2.1' 2013-01-23 21:21:00 +01:00
Config Merge branch '2.1' 2013-01-17 16:25:59 +01:00
Console merged branch gnugat/refactoring/console-get-help (PR #6789) 2013-01-18 09:14:58 +01:00
CssSelector Merge branch '2.1' 2013-01-17 16:25:59 +01:00
DependencyInjection Merge branch '2.1' 2013-01-23 21:21:00 +01:00
DomCrawler Merge branch '2.1' 2013-01-17 16:25:59 +01:00
EventDispatcher Merge branch '2.1' 2013-01-17 16:25:59 +01:00
Filesystem Merge branch '2.1' 2013-01-17 16:25:59 +01:00
Finder Fixed some tests on Windows 2013-01-18 21:36:32 +01:00
Form merged branch MaksSlesarenko/fix-for-choice-widget (PR #6734) 2013-01-23 20:54:36 +01:00
HttpFoundation [HttpFoundation] renamed hostname to host in the test to be consistent 2013-01-21 17:56:55 +01:00
HttpKernel bumped Symfony version to 2.2.0-RC1-DEV 2013-01-24 09:14:41 +01:00
Locale Merge branch '2.1' 2013-01-17 16:25:59 +01:00
OptionsResolver Merge branch '2.1' 2013-01-17 16:25:59 +01:00
Process Merge branch '2.1' 2013-01-17 16:25:59 +01:00
PropertyAccess [PropertyAccess] Property path, small refactoring, read/writeProperty to read/write Property/Index. 2013-01-10 09:49:43 +01:00
Routing renamed hostname to host in the routing system (closes #6775) 2013-01-21 17:57:32 +01:00
Security Merge branch '2.1' 2013-01-23 21:21:00 +01:00
Serializer fixed markup 2013-01-19 08:50:02 +01:00
Stopwatch updated license year 2013-01-04 17:58:00 +01:00
Templating Merge branch '2.1' 2013-01-17 16:25:59 +01:00
Translation Merge branch '2.1' 2013-01-17 16:25:59 +01:00
Validator merged branch franmomu/update_deprecated_calls_collection_validator (PR #6741) 2013-01-24 10:29:51 +01:00
Yaml Merge branch '2.1' 2013-01-23 21:21:00 +01:00