Skip to content

Commit 6cd7f30

Browse files
authored
Merge pull request #216 from erikn69/patch-3
Laravel 12 Support
2 parents 395c73b + 1972d01 commit 6cd7f30

File tree

5 files changed

+19
-11
lines changed

5 files changed

+19
-11
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
/phpunit.xml export-ignore
66
/composer.lock export-ignore
77
/.scrutinizer.yml export-ignore
8-
/.travis.yml export-ignore
8+
/.travis.yml export-ignore

.github/workflows/run-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
php: [8.4, 8.3, 8.2, 8.1]
13-
laravel: ["^11.0", "^10.0", "^9.0", "^8.12"]
13+
laravel: ["^12.0", "^11.0", "^10.0", "^9.0", "^8.12"]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
include:
16+
- laravel: "^12.0"
17+
testbench: 10.*
1618
- laravel: "^11.0"
1719
testbench: 9.*
1820
- laravel: "^10.0"
@@ -30,10 +32,14 @@ jobs:
3032
php: "8.0"
3133
dependency-version: prefer-stable
3234
exclude:
35+
- laravel: "^12.0"
36+
php: 8.1
3337
- laravel: "^11.0"
3438
php: 8.1
35-
- laravel: "^10.0"
36-
php: "8.0"
39+
- laravel: "^9.0"
40+
php: 8.4
41+
- laravel: "^8.12"
42+
php: 8.4
3743
- laravel: "^8.12"
3844
php: 8.3
3945

@@ -52,7 +58,7 @@ jobs:
5258

5359
- name: Install dependencies
5460
run: |
55-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:>=2.62.1" --no-interaction --no-update
61+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:>=2.72.6" --no-interaction --no-update
5662
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
5763
5864
- name: Execute tests

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/vendor/
2-
*.phpunit.result.cache
2+
.phpunit.cache
3+
.phpunit.result.cache
4+
build
35
composer.lock
46
/.idea

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
],
1616
"require": {
1717
"php": "^7.2 | ^8.0",
18-
"laravel/framework": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0"
18+
"laravel/framework": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0 | ^12.0"
1919
},
2020
"require-dev": {
21-
"phpunit/phpunit": "^7.5 | ^8.0 | ^9.0 | ^10.0",
21+
"phpunit/phpunit": "^7.5 | ^8.0 | ^9.0 | ^10.0 | ^11.0",
2222
"mockery/mockery": "^1.3.3",
23-
"orchestra/testbench": "^4.0 | ^5.0 | ^6.0 | ^7.0 | ^8.0 | ^9.0"
23+
"orchestra/testbench": "^4.0 | ^5.0 | ^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0"
2424
},
2525
"license": "MIT",
2626
"authors": [

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121

2222
## Requirements
2323

24-
- Laravel 6.x to 11.x
24+
- Laravel 6.x to 12.x
2525
- PHP >= 7.2 or >= 8.0
2626

2727
### Laravel support
2828

2929
| Version | Release |
3030
|:-------------:|:-------------:|
31-
| 6.x to 11.x | 1.7 |
31+
| 6.x to 12.x | 1.7 |
3232
| 6.x, 7.x | 1.6 |
3333
| 5.8 | 1.5 |
3434
| 5.7, 5.6 | 1.2 |

0 commit comments

Comments
 (0)