Skip to content

Commit 47cd378

Browse files
committed
merged branch michelsalib/patch-2 (PR symfony#4564)
Commits ------- be637b5 Add upgrade for commit 0995b1f 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 0995b1f. --------------------------------------------------------------------------- by travisbot at 2012-06-13T01:23:49Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1606080) (merged be637b5 into 37550d2).
2 parents 37550d2 + be637b5 commit 47cd378

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

UPGRADE-2.1.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,22 @@
143143
* `MutableAclInterface::setParentAcl` now accepts `null`, review any
144144
implementations of this interface to reflect this change.
145145
146+
* The `UserPassword` constraint has moved from the Security Bundle to the Security Component:
147+
148+
Before:
149+
150+
```
151+
use Symfony\Bundle\SecurityBundle\Validator\Constraint\UserPassword;
152+
use Symfony\Bundle\SecurityBundle\Validator\Constraint as SecurityAssert;
153+
```
154+
155+
After:
156+
157+
```
158+
use Symfony\Component\Security\Core\Validator\Constraint\UserPassword;
159+
use Symfony\Component\Security\Core\Validator\Constraint as SecurityAssert;
160+
```
161+
146162
### Form
147163
148164
#### BC Breaks in Form Types and Options

0 commit comments

Comments
 (0)