File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
src/Symfony/Bridge/Doctrine Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ UPGRADE FROM 3.x to 4.0
2
+ =======================
3
+
4
+ ### DoctrineBridge and Validator
5
+
6
+ * If you were using the ` StaticMethodLoader ` or a custom constraint loader to
7
+ create ` UniqueEntity ` constrainst, you now need to provide the class the
8
+ constraint is attached to as a ` target ` for the constraint when you create
9
+ it: ` $constraint->target = __CLASS__; ` (or
10
+ ` new UniqueEntity(['target' => __CLASS__]) ` )
Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ 3.1.0
5
+ -----
6
+
7
+ * fixed ` UniqueEntity ` interaction with inheritance
8
+ * deprecated ` UniqueEntity ` constraints without a target (possible only if
9
+ ` StaticMethodLoader ` or a custom constraint loader is used)
10
+
4
11
3.0.0
5
12
-----
6
13
You can’t perform that action at this time.
0 commit comments