File tree Expand file tree Collapse file tree 4 files changed +30
-16
lines changed Expand file tree Collapse file tree 4 files changed +30
-16
lines changed Original file line number Diff line number Diff line change 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 }}
@@ -37,13 +38,16 @@ jobs:
37
38
38
39
PHPUnit-hhvm :
39
40
name : PHPUnit (HHVM)
40
- runs-on : ubuntu-18 .04
41
+ runs-on : ubuntu-22 .04
41
42
continue-on-error : true
42
43
steps :
43
- - uses : actions/checkout@v2
44
- - uses : azjezz/setup-hhvm@v1
44
+ - uses : actions/checkout@v4
45
+ - run : cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
46
+ - name : Run hhvm composer.phar install
47
+ uses : docker://hhvm/hhvm:3.30-lts-latest
45
48
with :
46
- version : lts-3.30
47
- - run : composer self-update --2.2 # downgrade Composer for HHVM
48
- - run : hhvm $(which composer) install
49
- - run : hhvm vendor/bin/phpunit
49
+ args : hhvm composer.phar install
50
+ - name : Run hhvm vendor/bin/phpunit
51
+ uses : docker://hhvm/hhvm:3.30-lts-latest
52
+ with :
53
+ args : hhvm vendor/bin/phpunit
Original file line number Diff line number Diff line change 18
18
"require-dev" : {
19
19
"clue/block-react" : " ^1.5" ,
20
20
"clue/connection-manager-extra" : " ^1.3" ,
21
- "phpunit/phpunit" : " ^9.3 || ^5.7 || ^4.8.35 " ,
21
+ "phpunit/phpunit" : " ^9.6 || ^5.7 || ^4.8.36 " ,
22
22
"react/event-loop" : " ^1.2" ,
23
23
"react/http" : " ^1.6"
24
24
},
25
25
"autoload" : {
26
- "psr-4" : { "Clue\\ React\\ Socks\\ " : " src/" }
26
+ "psr-4" : {
27
+ "Clue\\ React\\ Socks\\ " : " src/"
28
+ }
27
29
},
28
30
"autoload-dev" : {
29
- "psr-4" : { "Clue\\ Tests\\ React\\ Socks\\ " : " tests/" }
31
+ "psr-4" : {
32
+ "Clue\\ Tests\\ React\\ Socks\\ " : " tests/"
33
+ }
30
34
}
31
35
}
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
- colors =" true"
8
7
cacheResult =" false" >
8
+ colors="true"
9
9
<testsuites >
10
10
<testsuite name =" Socks Test Suite" >
11
11
<directory >./tests/</directory >
16
16
<directory >./src/</directory >
17
17
</include >
18
18
</coverage >
19
+ <php >
20
+ <ini name =" error_reporting" value =" -1" />
21
+ </php >
19
22
</phpunit >
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 old format for PHPUnit 9.2 or older -->
3
+ <!-- PHPUnit configuration file with old format for legacy PHPUnit -->
4
4
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
5
xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/4.8/phpunit.xsd"
6
6
bootstrap =" vendor/autoload.php"
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 >
You can’t perform that action at this time.
0 commit comments