merged branch michelsalib/patch-2 (PR #4564)

Commits
-------

be637b5 Add upgrade for commit 0995b1f28b

Discussion
----------

Add upgrade for UserPassword moving from Bundle to Component

Just add some documentation in the Upgrade file about the `UserPassword` moving from Bundle to Component in commit 0995b1f28b.

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

by travisbot at 2012-06-13T01:23:49Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1606080) (merged be637b5c into 37550d23).
This commit is contained in:
Fabien Potencier 2012-06-13 08:16:27 +02:00
commit 47cd378f3d

View File

@ -143,6 +143,22 @@
* `MutableAclInterface::setParentAcl` now accepts `null`, review any
implementations of this interface to reflect this change.
* The `UserPassword` constraint has moved from the Security Bundle to the Security Component:
Before:
```
use Symfony\Bundle\SecurityBundle\Validator\Constraint\UserPassword;
use Symfony\Bundle\SecurityBundle\Validator\Constraint as SecurityAssert;
```
After:
```
use Symfony\Component\Security\Core\Validator\Constraint\UserPassword;
use Symfony\Component\Security\Core\Validator\Constraint as SecurityAssert;
```
### Form
#### BC Breaks in Form Types and Options