Skip to content

Commit f2d9bc6

Browse files
authored
Merge pull request #193 from clue-labs/php8.6-v3
[3.x] Run tests on PHP 8.6 and update test environment
2 parents 43b31f2 + d5523bc commit f2d9bc6

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ on:
77
jobs:
88
PHPUnit:
99
name: PHPUnit (PHP ${{ matrix.php }})
10-
runs-on: ubuntu-24.04
10+
runs-on: ubuntu-26.04
1111
strategy:
1212
matrix:
1313
php:
14+
- 8.6
1415
- 8.5
1516
- 8.4
1617
- 8.3
@@ -43,7 +44,7 @@ jobs:
4344
- uses: actions/checkout@v7
4445
- uses: shivammathur/setup-php@v2
4546
with:
46-
php-version: 8.5
47+
php-version: 8.6
4748
coverage: xdebug
4849
ini-file: development
4950
- run: composer install
@@ -52,10 +53,12 @@ jobs:
5253

5354
PHPStan:
5455
name: PHPStan (PHP ${{ matrix.php }})
55-
runs-on: ubuntu-24.04
56+
runs-on: ubuntu-26.04
5657
strategy:
5758
matrix:
5859
php:
60+
- 8.6
61+
- 8.5
5962
- 8.4
6063
- 8.3
6164
- 8.2

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
],
2828
"require": {
2929
"php": ">=7.1",
30-
"react/event-loop": "^1.2",
30+
"react/event-loop": "^1.6",
3131
"evenement/evenement": "^3.0 || ^2.0 || ^1.0"
3232
},
3333
"require-dev": {

‎tests/DuplexResourceStreamIntegrationTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public function testReadsLongChunksFromProcessPipe(callable $condition, callable
309309

310310
$loop = $loopFactory();
311311

312-
$fh = popen('dd if=/dev/zero bs=12345 count=1234 2>&-', 'r');
312+
$fh = popen('dd if=/dev/zero bs=12345 count=1234 2>/dev/null', 'r');
313313
assert(is_resource($fh));
314314

315315
$stream = new ReadableResourceStream($fh, $loop);

0 commit comments

Comments
 (0)