Skip to content

Commit 3318e9f

Browse files
authored
Merge pull request #24 from oliverearl/laravel-12-support
Laravel 12 Support
2 parents b9e1083 + 5a687aa commit 3318e9f

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/run-tests.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ jobs:
1818
matrix:
1919
os: [ubuntu-latest]
2020
php: [8.4, 8.3]
21-
laravel: [11.*]
21+
laravel: [12.*, 11.*]
2222
stability: [prefer-lowest, prefer-stable]
2323
include:
24+
- laravel: 12.*
25+
testbench: 10.*
2426
- laravel: 11.*
2527
testbench: 9.*
26-
carbon: ^2.63
2728

2829
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2930

@@ -45,7 +46,7 @@ jobs:
4546
4647
- name: Install dependencies
4748
run: |
48-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.os == 'windows-latest' && '^^^' || '' }}${{ matrix.carbon }}" --no-interaction --no-update
49+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4950
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5051
5152
- name: List Installed Dependencies

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
"require": {
2020
"php": "^8.3",
2121
"spatie/laravel-package-tools": "^1.16",
22-
"illuminate/contracts": "^11.0"
22+
"illuminate/contracts": "^11.0|^12.0"
2323
},
2424
"require-dev": {
2525
"laravel/pint": "^1.14",
2626
"nunomaduro/collision": "^8.1.1",
27-
"larastan/larastan": "^2.9",
27+
"larastan/larastan": "^2.9|^3.0",
2828
"orchestra/testbench": "^9.0.0",
2929
"pestphp/pest": "^3.0",
3030
"pestphp/pest-plugin-arch": "^3.0",
3131
"pestphp/pest-plugin-laravel": "^3.0",
3232
"phpstan/extension-installer": "^1.3",
33-
"phpstan/phpstan-deprecation-rules": "^1.1",
34-
"phpstan/phpstan-phpunit": "^1.3",
33+
"phpstan/phpstan-deprecation-rules": "^1.1|^2.0",
34+
"phpstan/phpstan-phpunit": "^1.3|^2.0",
3535
"spatie/laravel-ray": "^1.35"
3636
},
3737
"autoload": {

0 commit comments

Comments
 (0)