Skip to content

Commit 5889038

Browse files
authored
Supports Laravel 12 (#102)
1 parent ff810bd commit 5889038

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/tests.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: true
1919
matrix:
2020
php: [8.1, 8.2, 8.3, 8.4]
21-
laravel: [10, 11]
21+
laravel: [10, 11, 12]
2222
include:
2323
- php: 8.2
2424
laravel: 9
@@ -27,10 +27,12 @@ jobs:
2727
- php: '8.0'
2828
laravel: 9
2929
exclude:
30-
- php: 8.4
31-
laravel: 10
3230
- php: 8.1
3331
laravel: 11
32+
- php: 8.1
33+
laravel: 12
34+
- php: 8.4
35+
laravel: 10
3436

3537
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
3638

@@ -49,7 +51,7 @@ jobs:
4951

5052
- name: Install dependencies
5153
run: |
52-
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/support=^${{ matrix.laravel }}"
54+
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/support:^${{ matrix.laravel }}"
5355
5456
- name: Execute tests
5557
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
"require": {
1313
"php": "^8.0",
1414
"guzzlehttp/guzzle": "^7.0",
15-
"illuminate/http": "^9.0|^10.0|^11.0",
16-
"illuminate/notifications": "^9.0|^10.0|^11.0",
17-
"illuminate/support": "^9.0|^10.0|^11.0"
15+
"illuminate/http": "^9.0|^10.0|^11.0|^12.0",
16+
"illuminate/notifications": "^9.0|^10.0|^11.0|^12.0",
17+
"illuminate/support": "^9.0|^10.0|^11.0|^12.0"
1818
},
1919
"require-dev": {
2020
"mockery/mockery": "^1.0",
21-
"orchestra/testbench": "^7.0|^8.0|^9.0",
21+
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0",
2222
"phpstan/phpstan": "^1.10",
23-
"phpunit/phpunit": "^9.0|^10.4"
23+
"phpunit/phpunit": "^9.0|^10.4|^11.5"
2424
},
2525
"autoload": {
2626
"psr-4": {

0 commit comments

Comments
 (0)