Skip to content

Commit e30b15b

Browse files
authored
Merge pull request #27 from neeckeloo/chore/php84
Allow PHP 8.4
2 parents c3b80d0 + 651237c commit e30b15b

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
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
13+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
1414
"phpro/api-problem": "^1.0",
1515
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
1616
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
@@ -19,7 +19,7 @@
1919
"require-dev": {
2020
"friendsofphp/php-cs-fixer": "^3.39",
2121
"matthiasnoback/symfony-dependency-injection-test": "^4.3",
22-
"phpro/grumphp-shim": "^2.3",
22+
"phpro/grumphp-shim": "^2.10",
2323
"phpspec/prophecy-phpunit": "^2.0",
2424
"phpspec/prophecy": "^1.17",
2525
"phpunit/phpunit": "^9.5",

0 commit comments

Comments
 (0)