File tree 5 files changed +34
-16
lines changed
5 files changed +34
-16
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
PHPUnit :
9
9
name : PHPUnit (PHP ${{ matrix.php }})
10
- runs-on : ubuntu-20 .04
10
+ runs-on : ubuntu-22 .04
11
11
strategy :
12
12
matrix :
13
13
php :
14
+ - 8.3
14
15
- 8.2
15
16
- 8.1
16
17
- 8.0
24
25
- 5.4
25
26
- 5.3
26
27
steps :
27
- - uses : actions/checkout@v2
28
+ - uses : actions/checkout@v4
28
29
- uses : shivammathur/setup-php@v2
29
30
with :
30
31
php-version : ${{ matrix.php }}
@@ -39,13 +40,16 @@ jobs:
39
40
40
41
PHPUnit-hhvm :
41
42
name : PHPUnit (HHVM)
42
- runs-on : ubuntu-18 .04
43
+ runs-on : ubuntu-22 .04
43
44
continue-on-error : true
44
45
steps :
45
- - uses : actions/checkout@v2
46
- - uses : azjezz/setup-hhvm@v1
46
+ - uses : actions/checkout@v4
47
+ - run : cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
48
+ - name : Run hhvm composer.phar install
49
+ uses : docker://hhvm/hhvm:3.30-lts-latest
47
50
with :
48
- version : lts-3.30
49
- - run : composer self-update --2.2 # downgrade Composer for HHVM
50
- - run : hhvm $(which composer) install
51
- - run : hhvm vendor/bin/phpunit
51
+ args : hhvm composer.phar install
52
+ - name : Run hhvm vendor/bin/phpunit
53
+ uses : docker://hhvm/hhvm:3.30-lts-latest
54
+ with :
55
+ args : hhvm vendor/bin/phpunit
Original file line number Diff line number Diff line change 23
23
"phpunit/phpunit" : " ^9.3 || ^5.7 || ^4.8.36" ,
24
24
"react/async" : " ^4 || ^3 || ^2" ,
25
25
"react/http" : " ^1.5" ,
26
- "react/mysql" : " ^0.5.5"
26
+ "react/mysql" : " ^0.5.5" ,
27
+ "react/promise-timer" : " ^1.11"
27
28
},
28
29
"autoload" : {
29
- "psr-4" : { "Clue\\ React\\ SshProxy\\ " : " src/" },
30
- "files" : [ " src/Io/functions.php" ]
30
+ "psr-4" : {
31
+ "Clue\\ React\\ SshProxy\\ " : " src/"
32
+ },
33
+ "files" : [
34
+ " src/Io/functions.php"
35
+ ]
31
36
},
32
37
"autoload-dev" : {
33
- "psr-4" : { "Clue\\ Tests\\ React\\ SshProxy\\ " : " tests/" }
38
+ "psr-4" : {
39
+ "Clue\\ Tests\\ React\\ SshProxy\\ " : " tests/"
40
+ }
34
41
}
35
42
}
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
3
- <!-- PHPUnit configuration file with new format for PHPUnit 9.3 + -->
4
- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3 /phpunit.xsd"
3
+ <!-- PHPUnit configuration file with new format for PHPUnit 9.6 + -->
4
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.6 /phpunit.xsd"
6
6
bootstrap =" vendor/autoload.php"
7
7
cacheResult =" false"
8
8
colors =" true"
17
17
<directory >./src/</directory >
18
18
</include >
19
19
</coverage >
20
+ <php >
21
+ <ini name =" error_reporting" value =" -1" />
22
+ </php >
20
23
</phpunit >
Original file line number Diff line number Diff line change 15
15
<directory >./src/</directory >
16
16
</whitelist >
17
17
</filter >
18
+ <php >
19
+ <ini name =" error_reporting" value =" -1" />
20
+ </php >
18
21
</phpunit >
Original file line number Diff line number Diff line change 11
11
/** @internal */
12
12
class CompositeConnection extends EventEmitter implements ConnectionInterface
13
13
{
14
+ private $ remote ;
14
15
private $ read ;
15
16
private $ write ;
16
17
private $ closed = false ;
You can’t perform that action at this time.
0 commit comments