File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 12
12
],
13
13
"require" : {
14
14
"php" : " >=5.3" ,
15
- "react/promise" : " ^2.1 || ^1.2.1" ,
16
- "react/socket" : " ^1.9 " ,
15
+ "react/promise" : " ^3 || ^2.1 || ^1.2.1" ,
16
+ "react/socket" : " ^1.12 " ,
17
17
"ringcentral/psr7" : " ^1.2"
18
18
},
19
19
"require-dev" : {
20
- "clue/block-react" : " ^1.1 " ,
20
+ "clue/block-react" : " ^1.5 " ,
21
21
"phpunit/phpunit" : " ^9.3 || ^5.7 || ^4.8" ,
22
22
"react/event-loop" : " ^1.2" ,
23
23
"react/http" : " ^1.5"
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ public function testCancelPromiseWillCancelPendingConnection()
137
137
138
138
$ promise = $ proxy ->connect ('google.com:80 ' );
139
139
140
- $ this ->assertInstanceOf ('React\Promise\CancellablePromiseInterface ' , $ promise );
140
+ $ this ->assertInstanceOf ('React\Promise\PromiseInterface ' , $ promise );
141
141
142
142
$ promise ->cancel ();
143
143
}
@@ -477,7 +477,7 @@ public function testCancelPromiseWhileConnectionIsReadyWillCloseOpenConnectionAn
477
477
478
478
$ deferred ->resolve ($ stream );
479
479
480
- $ this ->assertInstanceOf ('React\Promise\CancellablePromiseInterface ' , $ promise );
480
+ $ this ->assertInstanceOf ('React\Promise\PromiseInterface ' , $ promise );
481
481
482
482
$ promise ->cancel ();
483
483
You can’t perform that action at this time.
0 commit comments