File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 7
7
- $HOME/.composer/cache/files
8
8
9
9
php :
10
- - 5.5
11
- - 5.6
12
- - 7.0
13
10
- 7.1
14
- - hhvm
11
+ - 7.2
15
12
16
13
env :
17
14
global :
@@ -26,7 +23,7 @@ matrix:
26
23
- php : hhvm
27
24
fast_finish : true
28
25
include :
29
- - php : 5.5
26
+ - php : 7.1
30
27
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
31
28
32
29
before_install :
Original file line number Diff line number Diff line change 15
15
}
16
16
],
17
17
"require" : {
18
- "php" : " ^5.5 || ^7.0 " ,
18
+ "php" : " ^7.1 " ,
19
19
"php-http/httplug" : " ^1.0" ,
20
20
"guzzlehttp/guzzle" : " ^6.0"
21
21
},
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public function wait($unwrap = true)
95
95
$ this ->promise ->wait (false );
96
96
97
97
if ($ unwrap ) {
98
- if ($ this ->getState () == self :: REJECTED ) {
98
+ if (self :: REJECTED == $ this ->getState ()) {
99
99
throw $ this ->exception ;
100
100
}
101
101
You can’t perform that action at this time.
0 commit comments