Skip to content

Commit a67d927

Browse files
Laravel 12.x Compatibility (#15)
* Bump dependencies for Laravel 12 * Update GitHub Actions for Laravel 12
1 parent 00b950f commit a67d927

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest, windows-latest]
1919
php: ['8.0', 8.1, 8.2]
20-
laravel: ['9.*', '10.*', '11.*']
20+
laravel: ['9.*', '10.*', '11.*', '12.*']
2121
stability: [prefer-lowest, prefer-stable]
2222
include:
2323
- laravel: 9.*
@@ -26,13 +26,19 @@ jobs:
2626
testbench: ^8.0
2727
- laravel: 11.*
2828
testbench: ^9.0
29+
- laravel: 12.*
30+
testbench: ^10.0
2931
exclude:
3032
- laravel: 10.*
3133
php: '8.0'
3234
- laravel: 11.*
3335
php: '8.0'
3436
- laravel: 11.*
3537
php: 8.1
38+
- laravel: 12.*
39+
php: '8.0'
40+
- laravel: 12.*
41+
php: 8.1
3642

3743
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3844

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
"require": {
1919
"php": "^8.2",
2020
"spatie/laravel-package-tools": "^1.16",
21-
"illuminate/contracts": "^11.0"
21+
"illuminate/contracts": "^11.0|^12.0"
2222
},
2323
"require-dev": {
2424
"brianium/paratest": "^7.4",
2525
"nunomaduro/collision": "^8.0",
26-
"orchestra/testbench": "^9.0",
27-
"phpunit/phpunit": "^10.0",
26+
"orchestra/testbench": "^9.0|^10.0",
27+
"phpunit/phpunit": "^10.0|^11.5.3",
2828
"spatie/laravel-ray": "^1.9",
29-
"vimeo/psalm": "^4.4|^5.22"
29+
"vimeo/psalm": "^4.4|^5.22|^6.5"
3030
},
3131
"autoload": {
3232
"psr-4": {

0 commit comments

Comments
 (0)