Skip to content

Commit 4b44c97

Browse files
authored
Supports Laravel 12 (#730)
1 parent 20a8216 commit 4b44c97

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/tests.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: true
1818
matrix:
1919
php: [8.1, 8.2, 8.3, 8.4]
20-
laravel: [10, 11]
20+
laravel: [10, 11, 12]
2121
include:
2222
- php: 8.2
2323
laravel: 9
@@ -54,6 +54,8 @@ jobs:
5454
laravel: 10
5555
- php: 8.1
5656
laravel: 11
57+
- php: 8.1
58+
laravel: 12
5759

5860
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
5961

@@ -72,7 +74,7 @@ jobs:
7274

7375
- name: Install dependencies
7476
run: |
75-
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}"
77+
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}"
7678
7779
- name: Execute tests
7880
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
"ext-json": "*",
2020
"firebase/php-jwt": "^6.4",
2121
"guzzlehttp/guzzle": "^6.0|^7.0",
22-
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
23-
"illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
24-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
22+
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
23+
"illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
24+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
2525
"league/oauth1-client": "^1.11",
2626
"phpseclib/phpseclib": "^3.0"
2727
},
2828
"require-dev": {
2929
"mockery/mockery": "^1.0",
30-
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0",
30+
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
3131
"phpstan/phpstan": "^1.10",
32-
"phpunit/phpunit": "^8.0|^9.3|^10.4"
32+
"phpunit/phpunit": "^8.0|^9.3|^10.4|^11.5"
3333
},
3434
"autoload": {
3535
"psr-4": {

0 commit comments

Comments
 (0)