Skip to content

Commit ab4306a

Browse files
authored
Merge pull request #20 from neeckeloo/chore/php84
Allow PHP 8.4
2 parents 75de32a + f5b1fac commit ab4306a

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "library",
55
"require-dev": {
66
"friendsofphp/php-cs-fixer": "^3.13",
7-
"phpro/grumphp-shim": "^2.3",
7+
"phpro/grumphp-shim": "^2.10",
88
"phpspec/phpspec": "^7.2",
99
"symfony/validator": "^5.4 || ^6.0 || ^7.0",
1010
"sebastian/comparator": "^4.0"
@@ -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)