File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,10 @@ depends upon ``testPush()``.
143
143
144
144
The return value yielded by a producer is passed "as-is" to its
145
145
consumers by default. This means that when a producer returns an object,
146
- a reference to that object is passed to the consumers. When a copy
147
- should be used instead of a reference, then @depends clone
148
- should be used instead of @depends.
146
+ a reference to that object is passed to the consumers. Instead of
147
+ a reference either (a) a (deep) copy via ``@depends clone ``, or (b) a
148
+ (normal shallow) clone (based on PHP keyword ``clone ``) via
149
+ ``@depends shallowClone `` are possible too.
149
150
150
151
To quickly localize defects, we want our attention to be focussed on
151
152
relevant failing tests. This is why PHPUnit skips the execution of a test
You can’t perform that action at this time.
0 commit comments