Skip to content

Commit 651237c

Browse files
committed
Fix dependencies
1 parent 15aa5a0 commit 651237c

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/grumphp.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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",
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)