Skip to content

Commit 88cea97

Browse files
add support for laravel 12, drop support for laravel 10 & php 8.1
1 parent 3a4e991 commit 88cea97

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php: [8.3, 8.2, 8.1]
16-
laravel: [^10.0, ^11.0]
17-
exclude:
18-
- php: 8.1
19-
laravel: '^11.0'
15+
php: [8.4, 8.3, 8.2]
16+
laravel: [^11.0, ^12.0]
2017

2118
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2219

@@ -26,7 +23,7 @@ jobs:
2623

2724
- name: Cache dependencies
2825
uses: actions/cache@v3
29-
with:
26+
with:
3027
path: ~/.composer/cache/files
3128
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
3229

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"description": "This trait allows you to easily flag attributes that should be set as null when being persisted to the database using the Laravel PHP Framework.",
44
"type": "utility",
55
"require": {
6-
"php": "^8.1",
7-
"illuminate/database": "^10.0|^11.0",
8-
"illuminate/events": "^10.0|^11.0",
9-
"illuminate/contracts": "^10.0|^11.0"
6+
"php": "^8.2",
7+
"illuminate/database": "^11.0 || ^12.0",
8+
"illuminate/events": "^11.0 || ^12.0",
9+
"illuminate/contracts": "^11.0 || ^12.0"
1010
},
1111
"license": "MIT",
1212
"authors": [

0 commit comments

Comments
 (0)