Skip to content

Commit

Permalink
Merge pull request #20 from neeckeloo/chore/php84
Browse files Browse the repository at this point in the history
Allow PHP 8.4
  • Loading branch information
veewee authored Jan 30, 2025
2 parents 75de32a + f5b1fac commit ab4306a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/grumphp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2', '8.3', '8.4']
composer-options: ['', '--prefer-lowest']
fail-fast: false
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} with ${{ matrix.composer-options }}
Expand All @@ -20,6 +20,11 @@ jobs:
php-version: ${{ matrix.php-versions }}
tools: 'composer:v2'
extensions: pcov, mbstring, posix
- name: Set env vars for latest PHP version
if: matrix.php-versions == '8.4'
run: |
export COMPOSER_IGNORE_PLATFORM_REQ=php+
export BOX_REQUIREMENT_CHECKER=0
- name: Check Versions
run: |
php -v
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.13",
"phpro/grumphp-shim": "^2.3",
"phpro/grumphp-shim": "^2.10",
"phpspec/phpspec": "^7.2",
"symfony/validator": "^5.4 || ^6.0 || ^7.0",
"sebastian/comparator": "^4.0"
Expand All @@ -17,7 +17,7 @@
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0"
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
},
"config": {
"sort-packages": true,
Expand Down

0 comments on commit ab4306a

Please sign in to comment.