Skip to content

Commit 2297456

Browse files
authored
Merge pull request #96 from clue-labs/php8.5-v4
[4.x] Run tests on PHP 8.5 and update test environment
2 parents cd909ff + 1aaf579 commit 2297456

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ jobs:
1111
strategy:
1212
matrix:
1313
php:
14+
- 8.5
1415
- 8.4
1516
- 8.3
1617
- 8.2
1718
- 8.1
1819
steps:
19-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v7
2021
- uses: shivammathur/setup-php@v2
2122
with:
2223
php-version: ${{ matrix.php }}
23-
coverage: ${{ matrix.php < 8.0 && 'xdebug' || 'pcov' }}
24+
coverage: pcov
2425
ini-file: development
2526
- run: composer install
2627
- run: vendor/bin/phpunit --coverage-text
@@ -31,12 +32,13 @@ jobs:
3132
strategy:
3233
matrix:
3334
php:
35+
- 8.5
3436
- 8.4
3537
- 8.3
3638
- 8.2
3739
- 8.1
3840
steps:
39-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v7
4042
- uses: shivammathur/setup-php@v2
4143
with:
4244
php-version: ${{ matrix.php }}

‎composer.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
],
2828
"require": {
2929
"php": ">=8.1",
30-
"react/event-loop": "^1.2",
31-
"react/promise": "^3.2 || ^2.8 || ^1.2.1"
30+
"react/event-loop": "^1.6",
31+
"react/promise": "^3.3 || ^2.8 || ^1.2.1"
3232
},
3333
"require-dev": {
3434
"phpstan/phpstan": "1.12.19",

0 commit comments

Comments
 (0)