Skip to content

Commit 8a061b8

Browse files
committed
Allow PHP 8.4
1 parent 75de32a commit 8a061b8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/grumphp.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.1', '8.2', '8.3']
10+
php-versions: ['8.1', '8.2', '8.3', '8.4']
1111
composer-options: ['', '--prefer-lowest']
1212
fail-fast: false
1313
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} with ${{ matrix.composer-options }}
@@ -20,6 +20,11 @@ jobs:
2020
php-version: ${{ matrix.php-versions }}
2121
tools: 'composer:v2'
2222
extensions: pcov, mbstring, posix
23+
- name: Set env vars for latest PHP version
24+
if: matrix.php-versions == '8.4'
25+
run: |
26+
export COMPOSER_IGNORE_PLATFORM_REQ=php+
27+
export BOX_REQUIREMENT_CHECKER=0
2328
- name: Check Versions
2429
run: |
2530
php -v

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"require": {
20-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0"
20+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
2121
},
2222
"config": {
2323
"sort-packages": true,

0 commit comments

Comments
 (0)