File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : php
22
3- php :
4- # - 5.3 # requires old distro, see below
5- - 5.4
6- - 5.5
7- - 5.6
8- - 7.0
9- - 7.1
10- - 7.2
11- - 7.3
12- - hhvm # ignore errors, see below
13-
143# lock distro so new future defaults will not break the build
154dist : trusty
165
176matrix :
187 include :
198 - php : 5.3
209 dist : precise
10+ - php : 5.4
11+ - php : 5.5
12+ - php : 5.6
13+ - php : 7.0
14+ - php : 7.1
15+ - php : 7.2
16+ - php : 7.3
17+ - php : 7.4
18+ - php : hhvm-3.18
19+ install : composer require phpunit/phpunit:^5 --dev --no-interaction # requires legacy phpunit
2120 allow_failures :
22- - php : hhvm
21+ - php : hhvm-3.18
2322
2423install :
2524 - composer install --no-interaction
Original file line number Diff line number Diff line change 2323 "react/promise" : " ^2.7.0 || ^1.2.1"
2424 },
2525 "require-dev" : {
26- "phpunit/phpunit" : " ^6.4 || ^5.7 || ^4.8.35"
26+ "phpunit/phpunit" : " ^7.0 || ^ 6.4 || ^5.7 || ^4.8.35"
2727 }
2828}
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ public function testWaitingForPromiseToRejectDoesNotLeaveGarbageCycles()
5454 }
5555
5656 gc_collect_cycles ();
57+ gc_collect_cycles (); // clear twice to avoid leftovers in PHP 7.4 with ext-xdebug and code coverage turned on
5758
5859 $ promise = Timer \reject (0.01 , $ this ->loop );
5960 $ this ->loop ->run ();
You can’t perform that action at this time.
0 commit comments