Skip to content

Commit b8e9291

Browse files
Supports Laravel 12 (#902)
* [10.x] Adds L11 support (#782) * Adds L11 support * Adjusts test suite * wip Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * Supports Laravel 12 Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * Update tests.yml --------- Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> Co-authored-by: Nuno Maduro <enunomaduro@gmail.com>
1 parent f818046 commit b8e9291

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
fail-fast: true
1818
matrix:
1919
php: [8.1, 8.2, 8.3]
20-
laravel: [10, 11]
20+
laravel: [10, 11, 12]
2121
include:
2222
- php: 8.4
2323
laravel: 11
24+
- php: 8.4
25+
laravel: 12
2426
- php: 8.2
2527
laravel: 9
2628
- php: 8.1
@@ -30,6 +32,8 @@ jobs:
3032
exclude:
3133
- php: 8.1
3234
laravel: 11
35+
- php: 8.1
36+
laravel: 12
3337

3438
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
3539

@@ -48,7 +52,7 @@ jobs:
4852

4953
- name: Install dependencies
5054
run: |
51-
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}"
55+
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}"
5256
5357
- name: Execute tests
5458
run: vendor/bin/phpunit

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@
1515
],
1616
"require": {
1717
"php": "^8.0",
18-
"illuminate/bus": "^9.0|^10.0|^11.0",
19-
"illuminate/contracts": "^9.0|^10.0|^11.0",
20-
"illuminate/database": "^9.0|^10.0|^11.0",
21-
"illuminate/http": "^9.0|^10.0|^11.0",
22-
"illuminate/pagination": "^9.0|^10.0|^11.0",
23-
"illuminate/queue": "^9.0|^10.0|^11.0",
24-
"illuminate/support": "^9.0|^10.0|^11.0",
18+
"illuminate/bus": "^9.0|^10.0|^11.0|^12.0",
19+
"illuminate/contracts": "^9.0|^10.0|^11.0|^12.0",
20+
"illuminate/database": "^9.0|^10.0|^11.0|^12.0",
21+
"illuminate/http": "^9.0|^10.0|^11.0|^12.0",
22+
"illuminate/pagination": "^9.0|^10.0|^11.0|^12.0",
23+
"illuminate/queue": "^9.0|^10.0|^11.0|^12.0",
24+
"illuminate/support": "^9.0|^10.0|^11.0|^12.0",
2525
"symfony/console": "^6.0|^7.0"
2626
},
2727
"require-dev": {
2828
"algolia/algoliasearch-client-php": "^3.2|^4.0",
2929
"typesense/typesense-php": "^4.9.3",
3030
"meilisearch/meilisearch-php": "^1.0",
3131
"mockery/mockery": "^1.0",
32-
"orchestra/testbench": "^7.31|^8.11|^9.0",
32+
"orchestra/testbench": "^7.31|^8.11|^9.0|^10.0",
3333
"php-http/guzzle7-adapter": "^1.0",
3434
"phpstan/phpstan": "^1.10",
3535
"phpunit/phpunit": "^9.3|^10.4"

0 commit comments

Comments
 (0)