File tree Expand file tree Collapse file tree 5 files changed +34
-17
lines changed Expand file tree Collapse file tree 5 files changed +34
-17
lines changed Original file line number Diff line number Diff line change 77jobs :
88 PHPUnit :
99 name : PHPUnit (PHP ${{ matrix.php }})
10- runs-on : ubuntu-20 .04
10+ runs-on : ubuntu-22 .04
1111 strategy :
1212 matrix :
1313 php :
14+ - 8.3
1415 - 8.2
1516 - 8.1
1617 - 8.0
2425 - 5.4
2526 - 5.3
2627 steps :
27- - uses : actions/checkout@v2
28+ - uses : actions/checkout@v4
2829 - uses : shivammathur/setup-php@v2
2930 with :
3031 php-version : ${{ matrix.php }}
@@ -39,13 +40,16 @@ jobs:
3940
4041 PHPUnit-hhvm :
4142 name : PHPUnit (HHVM)
42- runs-on : ubuntu-18 .04
43+ runs-on : ubuntu-22 .04
4344 continue-on-error : true
4445 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
4750 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 2020 "react/stream" : " ^1.2"
2121 },
2222 "require-dev" : {
23- "phpunit/phpunit" : " ^9.3 || ^5.7 || ^4.8.36" ,
23+ "phpunit/phpunit" : " ^9.6 || ^5.7 || ^4.8.36" ,
2424 "react/async" : " ^4 || ^3 || ^2" ,
2525 "react/http" : " ^1.5" ,
2626 "react/mysql" : " ^0.5.5"
2727 },
2828 "autoload" : {
29- "psr-4" : { "Clue\\ React\\ SshProxy\\ " : " src/" },
30- "files" : [ " src/Io/functions.php" ]
29+ "psr-4" : {
30+ "Clue\\ React\\ SshProxy\\ " : " src/"
31+ },
32+ "files" : [
33+ " src/Io/functions.php"
34+ ]
3135 },
3236 "autoload-dev" : {
33- "psr-4" : { "Clue\\ Tests\\ React\\ SshProxy\\ " : " tests/" }
37+ "psr-4" : {
38+ "Clue\\ Tests\\ React\\ SshProxy\\ " : " tests/"
39+ }
3440 }
3541}
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
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"
66 bootstrap =" vendor/autoload.php"
77 cacheResult =" false"
88 colors =" true"
1717 <directory >./src/</directory >
1818 </include >
1919 </coverage >
20+ <php >
21+ <ini name =" error_reporting" value =" -1" />
22+ </php >
2023</phpunit >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
3- <!-- PHPUnit configuration file with old format for PHPUnit 9.2 or older -->
3+ <!-- PHPUnit configuration file with old format for legacy PHPUnit -->
44<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
55 xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/4.8/phpunit.xsd"
66 bootstrap =" vendor/autoload.php"
1515 <directory >./src/</directory >
1616 </whitelist >
1717 </filter >
18+ <php >
19+ <ini name =" error_reporting" value =" -1" />
20+ </php >
1821</phpunit >
Original file line number Diff line number Diff line change 1111/** @internal */
1212class CompositeConnection extends EventEmitter implements ConnectionInterface
1313{
14+ private $ remote ;
1415 private $ read ;
1516 private $ write ;
1617 private $ closed = false ;
You can’t perform that action at this time.
0 commit comments