Skip to content
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
File tree Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Expand file tree Collapse file tree 3 files changed +20
-13
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 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 @@ -29,7 +29,7 @@ public function setUpConnector()
29
29
public function tearDownSSHClientProcess ()
30
30
{
31
31
// run loop in order to shut down SSH client process again
32
- \React \Async \await (\React \Promise \ Timer \sleep (0.001 ));
32
+ \React \Async \await (\React \Async \delay (0.001 ));
33
33
}
34
34
35
35
public function testConnectInvalidProxyUriWillReturnRejectedPromise ()
You can’t perform that action at this time.
0 commit comments