merged branch michelsalib/patch-2 (PR #4564)
Commits -------be637b5
Add upgrade for commit0995b1f28b
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 commit0995b1f28b
. --------------------------------------------------------------------------- by travisbot at 2012-06-13T01:23:49Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1606080) (mergedbe637b5c
into37550d23
).
This commit is contained in:
commit
47cd378f3d
@ -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
|
||||
|
Reference in New Issue
Block a user