Skip to content

Commit

Permalink
Add PHP 8.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
gdebrauwer committed Dec 12, 2024
1 parent bd5e4ea commit f01575e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4

- name: Get Composer cache cirectory
id: composer-cache
Expand All @@ -35,5 +35,5 @@ jobs:

- name: Execute linting
run: |
vendor/bin/php-cs-fixer fix --dry-run
PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run
vendor/bin/phpcs --colors --report-full
9 changes: 8 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3]
php: [8.1, 8.2, 8.3, 8.4]
laravel: [9.*, 10.*, 11.*]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- php: 8.4
laravel: 11.*
dependency-version: prefer-lowest
- php: 8.4
laravel: 10.*
- php: 8.4
laravel: 9.*
- php: 8.3
laravel: 9.*
dependency-version: prefer-lowest
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"require": {
"php": "^8.1|^8.2|^8.3",
"php": "^8.1|^8.2|^8.3|^8.4",
"ext-json": "*",
"laravel/framework": "^9.0|^10.0|^11.0"
},
Expand Down

0 comments on commit f01575e

Please sign in to comment.