Skip to content

Commit 588c1ba

Browse files
authored
Adding Laravel 12 compatibility (#1448)
* adds laravel 12 compatibility * exclude older versions of php on laravel 12 * fixing tests
1 parent b98cda4 commit 588c1ba

File tree

5 files changed

+1558
-1799
lines changed

5 files changed

+1558
-1799
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
php: [7.3, 7.4, 8.0, 8.1, 8.2]
19-
laravel: [^6.0, ^7.0, ^8.0, ^9.0, ^10.0, ^11.0]
19+
laravel: [^6.0, ^7.0, ^8.0, ^9.0, ^10.0, ^11.0, ^12.0]
2020
include:
2121
- laravel: ^6.0
2222
testbench: ^4.0
@@ -30,29 +30,41 @@ jobs:
3030
testbench: ^8.0
3131
- laravel: ^11.0
3232
testbench: ^9.0
33+
- laravel: '^12.0'
34+
testbench: ^10.0
3335
exclude:
3436
- php: 7.3
3537
laravel: ^9.0
3638
- php: 7.3
3739
laravel: ^10.0
3840
- php: 7.3
3941
laravel: ^11.0
42+
- php: 7.3
43+
laravel: ^12.0
4044
- php: 7.4
4145
laravel: ^9.0
4246
- php: 7.4
4347
laravel: ^10.0
4448
- php: 7.4
4549
laravel: ^11.0
50+
- php: 7.4
51+
laravel: ^12.0
4652
- php: 8.0
4753
laravel: ^10.0
4854
- php: 8.0
4955
laravel: ^11.0
56+
- php: 8.0
57+
laravel: ^12.0
58+
- php: 8.0
59+
laravel: ^11.0
5060
- php: 8.1
5161
laravel: ^6.0
5262
- php: 8.1
5363
laravel: ^7.0
5464
- php: 8.1
5565
laravel: ^11.0
66+
- php: 8.1
67+
laravel: ^12.0
5668
- php: 8.2
5769
laravel: ^6.0
5870
- php: 8.2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
"require": {
2424
"php": "^7.3|^8.0",
2525
"ext-json": "*",
26-
"laravel/framework": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
26+
"laravel/framework": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0"
2727
},
2828
"require-dev": {
2929
"laravel/legacy-factories": "^1.0",
3030
"mockery/mockery": "^1.4",
31-
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0",
32-
"phpunit/phpunit": "^9.0|^10.0"
31+
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
32+
"phpunit/phpunit": "^9.0|^10.0|^11.5.3"
3333
},
3434
"autoload": {
3535
"psr-4": {

0 commit comments

Comments
 (0)