Skip to content

Commit 95c5113

Browse files
PHP 8.4 Support (#387)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * We can do without this. * Require Statamic 5.41
1 parent f0860f8 commit 95c5113

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
php: [8.1, 8.2, 8.3]
15+
php: [8.1, 8.2, 8.3, 8.4]
1616
laravel: [10.*, 11.*]
17-
dependency-version: [prefer-lowest, prefer-stable]
17+
stability: [prefer-lowest, prefer-stable]
1818
exclude:
1919
- php: 8.1
2020
laravel: 11.*
21+
- php: 8.4
22+
laravel: 10.*
2123

22-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
24+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
2325

2426
steps:
2527
- name: Checkout code
@@ -29,13 +31,13 @@ jobs:
2931
uses: shivammathur/setup-php@v2
3032
with:
3133
php-version: ${{ matrix.php }}
32-
extension-csv: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
34+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
3335
coverage: none
3436

3537
- name: Install dependencies
3638
run: |
3739
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
38-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
40+
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
3941
4042
- name: Execute tests
4143
run: vendor/bin/phpunit

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
},
2626
"require": {
2727
"php": "^8.1",
28-
"statamic/cms": "^5.18"
28+
"statamic/cms": "^5.41"
2929
},
3030
"require-dev": {
3131
"doctrine/dbal": "^3.8",
3232
"laravel/pint": "^1.0",
33-
"orchestra/testbench": "^8.0 || ^9.0.2",
34-
"phpunit/phpunit": "^9.4 || ^10.0 || ^11.0"
33+
"orchestra/testbench": "^8.28 || ^9.6.1",
34+
"phpunit/phpunit": "^10.5.35"
3535
},
3636
"scripts": {
3737
"test": "phpunit"

0 commit comments

Comments
 (0)