File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 4
4
- 7.1
5
5
- 7.2
6
6
- 7.3
7
+ - 7.4
7
8
- nightly # ignore errors, see below
8
9
9
10
# lock distro so new future defaults will not break the build
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ public function shouldRejectWithoutCreatingGarbageCyclesIfCancellerRejectsWithEx
37
37
public function shouldRejectWithoutCreatingGarbageCyclesIfParentCancellerRejectsWithException ()
38
38
{
39
39
gc_collect_cycles ();
40
+ gc_collect_cycles (); // clear twice to avoid leftovers in PHP 7.4 with ext-xdebug and code coverage turned on
41
+
40
42
$ deferred = new Deferred (function ($ resolve , $ reject ) {
41
43
$ reject (new \Exception ('foo ' ));
42
44
});
@@ -50,6 +52,8 @@ public function shouldRejectWithoutCreatingGarbageCyclesIfParentCancellerRejects
50
52
public function shouldRejectWithoutCreatingGarbageCyclesIfCancellerHoldsReferenceAndExplicitlyRejectWithException ()
51
53
{
52
54
gc_collect_cycles ();
55
+ gc_collect_cycles (); // clear twice to avoid leftovers in PHP 7.4 with ext-xdebug and code coverage turned on
56
+
53
57
$ deferred = new Deferred (function () use (&$ deferred ) { });
54
58
$ deferred ->reject (new \Exception ('foo ' ));
55
59
unset($ deferred );
You can’t perform that action at this time.
0 commit comments