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
1010
1111It comes with the following features:
1212
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);
1415
1516* Auto-register ``class_exists `` to load Doctrine annotations (when used);
1617
Original file line number Diff line number Diff line change @@ -110,6 +110,12 @@ between all of the constraints in your user table:
110110 this validation has passed and before this entity is actually persisted in
111111 the database.
112112
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+
113119Options
114120-------
115121
You can’t perform that action at this time.
0 commit comments