Skip to content

Commit bc91d1e

Browse files
authored
Merge pull request #39 from wotzebra/php84-support
Add PHP 8.4 support
2 parents bd5e4ea + f01575e commit bc91d1e

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.github/workflows/run-linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: 8.3
18+
php-version: 8.4
1919

2020
- name: Get Composer cache cirectory
2121
id: composer-cache
@@ -35,5 +35,5 @@ jobs:
3535

3636
- name: Execute linting
3737
run: |
38-
vendor/bin/php-cs-fixer fix --dry-run
38+
PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run
3939
vendor/bin/phpcs --colors --report-full

.github/workflows/run-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
php: [8.1, 8.2, 8.3]
13+
php: [8.1, 8.2, 8.3, 8.4]
1414
laravel: [9.*, 10.*, 11.*]
1515
dependency-version: [prefer-lowest, prefer-stable]
1616
exclude:
17+
- php: 8.4
18+
laravel: 11.*
19+
dependency-version: prefer-lowest
20+
- php: 8.4
21+
laravel: 10.*
22+
- php: 8.4
23+
laravel: 9.*
1724
- php: 8.3
1825
laravel: 9.*
1926
dependency-version: prefer-lowest

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^8.1|^8.2|^8.3",
21+
"php": "^8.1|^8.2|^8.3|^8.4",
2222
"ext-json": "*",
2323
"laravel/framework": "^9.0|^10.0|^11.0"
2424
},

0 commit comments

Comments
 (0)