Skip to content

Commit ffc36c7

Browse files
[7.x] PHP 8.4 Support (#633)
1 parent 10692ee commit ffc36c7

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.github/workflows/tests.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
php: [8.3, 8.2]
15+
php: [8.2, 8.3, 8.4]
1616
laravel: [10.*, 11.*]
17-
statamic: [^5.0]
17+
stability: [prefer-lowest, prefer-stable]
1818
os: [ubuntu-latest]
19+
exclude:
20+
- php: 8.4
21+
laravel: 10.*
1922

20-
name: ${{ matrix.php }} - ${{ matrix.statamic }} - ${{ matrix.laravel }}
23+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
2124

2225
steps:
2326
- name: Checkout code
@@ -31,8 +34,8 @@ jobs:
3134

3235
- name: Install dependencies
3336
run: |
34-
composer require "laravel/framework:${{ matrix.laravel }}" "statamic/cms:${{ matrix.statamic }}" --no-interaction --no-update
35-
composer install --no-interaction
37+
composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-update
38+
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
3639
3740
- name: Run PHPUnit
3841
run: vendor/bin/phpunit

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@
4141
"require": {
4242
"php": "^8.2",
4343
"ajthinking/archetype": "^1.0.3 || ^2.0",
44-
"laravel/framework": "^10.25.0 || ^11.0",
44+
"laravel/framework": "^10.25.0 || ^11.3",
4545
"laravel/prompts": "^0.1.17",
4646
"pixelfear/composer-dist-plugin": "^0.1.5",
4747
"spatie/ignition": "^1.15",
4848
"spatie/invade": "^2.1",
49-
"statamic/cms": "^5.30.0"
49+
"statamic/cms": "^5.41"
5050
},
5151
"require-dev": {
5252
"laravel/pint": "^1.0",
5353
"spatie/test-time": "^1.2",
54-
"orchestra/testbench": "^8.0 || ^9.0",
55-
"phpunit/phpunit": "^10.0"
54+
"orchestra/testbench": "^8.28 || ^9.6.1",
55+
"phpunit/phpunit": "^10.5.35"
5656
},
5757
"config": {
5858
"optimize-autoloader": true,

0 commit comments

Comments
 (0)