File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 - 7.1
55 - 7.2
66 - 7.3
7+ - 7.4
78 - nightly # ignore errors, see below
89
910# 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
3737 public function shouldRejectWithoutCreatingGarbageCyclesIfParentCancellerRejectsWithException ()
3838 {
3939 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+
4042 $ deferred = new Deferred (function ($ resolve , $ reject ) {
4143 $ reject (new \Exception ('foo ' ));
4244 });
@@ -50,6 +52,8 @@ public function shouldRejectWithoutCreatingGarbageCyclesIfParentCancellerRejects
5052 public function shouldRejectWithoutCreatingGarbageCyclesIfCancellerHoldsReferenceAndExplicitlyRejectWithException ()
5153 {
5254 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+
5357 $ deferred = new Deferred (function () use (&$ deferred ) { });
5458 $ deferred ->reject (new \Exception ('foo ' ));
5559 unset($ deferred );
You can’t perform that action at this time.
0 commit comments