File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
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
-
14
3
# lock distro so new future defaults will not break the build
15
4
dist : trusty
16
5
17
6
matrix :
18
7
include :
19
8
- php : 5.3
20
9
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
21
20
allow_failures :
22
- - php : hhvm
21
+ - php : hhvm-3.18
23
22
24
23
install :
25
24
- composer install --no-interaction
Original file line number Diff line number Diff line change 23
23
"react/promise" : " ^2.7.0 || ^1.2.1"
24
24
},
25
25
"require-dev" : {
26
- "phpunit/phpunit" : " ^6.4 || ^5.7 || ^4.8.35"
26
+ "phpunit/phpunit" : " ^7.0 || ^ 6.4 || ^5.7 || ^4.8.35"
27
27
}
28
28
}
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ public function testWaitingForPromiseToRejectDoesNotLeaveGarbageCycles()
54
54
}
55
55
56
56
gc_collect_cycles ();
57
+ gc_collect_cycles (); // clear twice to avoid leftovers in PHP 7.4 with ext-xdebug and code coverage turned on
57
58
58
59
$ promise = Timer \reject (0.01 , $ this ->loop );
59
60
$ this ->loop ->run ();
You can’t perform that action at this time.
0 commit comments