File tree Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
php-version : ${{ matrix.php }}
29
29
coverage : xdebug
30
+ env :
31
+ COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
32
- run : composer install
31
33
- run : vendor/bin/phpunit --coverage-text
32
34
if : ${{ matrix.php >= 7.3 }}
37
39
name : PHPUnit (HHVM)
38
40
runs-on : ubuntu-18.04
39
41
continue-on-error : true
42
+ if : false # temporarily skipped until https://github.com/azjezz/setup-hhvm/issues/3 is addressed
40
43
steps :
41
44
- uses : actions/checkout@v2
42
45
- uses : azjezz/setup-hhvm@v1
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@dev || ^2.1 || ^1.2.1" ,
16
+ "react/socket" : " dev-promise-3 as 1.12.0 " ,
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
- "react/event-loop" : " ^1.2" ,
23
- "react/http" : " ^1.5"
22
+ "react/event-loop" : " ^1.2"
24
23
},
25
24
"autoload" : {
26
25
"psr-4" : { "Clue\\ React\\ HttpProxy\\ " : " src/" }
27
26
},
28
27
"autoload-dev" : {
29
28
"psr-4" : { "Clue\\ Tests\\ React\\ HttpProxy\\ " : " tests/" }
30
- }
29
+ },
30
+ "repositories" : [
31
+ {
32
+ "type" : " vcs" ,
33
+ "url" : " https://github.com/WyriHaximus-labs/socket"
34
+ }
35
+ ]
31
36
}
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
}
@@ -475,7 +475,7 @@ public function testCancelPromiseWhileConnectionIsReadyWillCloseOpenConnectionAn
475
475
476
476
$ deferred ->resolve ($ stream );
477
477
478
- $ this ->assertInstanceOf ('React\Promise\CancellablePromiseInterface ' , $ promise );
478
+ $ this ->assertInstanceOf ('React\Promise\PromiseInterface ' , $ promise );
479
479
480
480
$ promise ->cancel ();
481
481
You can’t perform that action at this time.
0 commit comments