File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ The PHPUnit Bridge
10
10
11
11
It comes with the following features:
12
12
13
- * Forces the tests to use a consistent locale (``C ``);
13
+ * Forces the tests to use a consistent locale (``C ``) (if you create
14
+ locale-sensitive tests, use PHPUnit's ``setLocale() `` method);
14
15
15
16
* Auto-register ``class_exists `` to load Doctrine annotations (when used);
16
17
Original file line number Diff line number Diff line change @@ -110,6 +110,12 @@ between all of the constraints in your user table:
110
110
this validation has passed and before this entity is actually persisted in
111
111
the database.
112
112
113
+ .. caution ::
114
+
115
+ This constraint cannot deal with duplicates found in a collection of items
116
+ that haven't been persisted as entities yet. You'll need to create your own
117
+ validator to handle that case.
118
+
113
119
Options
114
120
-------
115
121
You can’t perform that action at this time.
0 commit comments