Skip to content

Commit b9e0b98

Browse files
authored
Laravel v9 support (#1516)
* Laravel 9 support * Update composer.json * Update tests.yml
1 parent fe865e3 commit b9e0b98

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [7.3, 7.4, 8.0, 8.1]
17-
laravel: [^8.0]
16+
php: [7.3, 7.4, '8.0', 8.1]
17+
laravel: [8, 9]
18+
exclude:
19+
- php: 7.3
20+
laravel: 9
21+
- php: 7.4
22+
laravel: 9
1823

1924
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
2025

@@ -32,7 +37,7 @@ jobs:
3237

3338
- name: Install dependencies
3439
run: |
35-
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
40+
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
3641
composer update --prefer-dist --no-interaction --no-progress
3742
3843
- name: Execute tests

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"php": "^7.3|^8.0",
1818
"ext-json": "*",
1919
"firebase/php-jwt": "^5.0",
20-
"illuminate/auth": "^8.2",
21-
"illuminate/console": "^8.2",
22-
"illuminate/container": "^8.2",
23-
"illuminate/contracts": "^8.2",
24-
"illuminate/cookie": "^8.2",
25-
"illuminate/database": "^8.2",
26-
"illuminate/encryption": "^8.2",
27-
"illuminate/http": "^8.2",
28-
"illuminate/support": "^8.2",
20+
"illuminate/auth": "^8.2|^9.0",
21+
"illuminate/console": "^8.2|^9.0",
22+
"illuminate/container": "^8.2|^9.0",
23+
"illuminate/contracts": "^8.2|^9.0",
24+
"illuminate/cookie": "^8.2|^9.0",
25+
"illuminate/database": "^8.2|^9.0",
26+
"illuminate/encryption": "^8.2|^9.0",
27+
"illuminate/http": "^8.2|^9.0",
28+
"illuminate/support": "^8.2|^9.0",
2929
"lcobucci/jwt": "^3.4|^4.0",
3030
"league/oauth2-server": "^8.2",
3131
"nyholm/psr7": "^1.3",
@@ -34,7 +34,7 @@
3434
},
3535
"require-dev": {
3636
"mockery/mockery": "^1.0",
37-
"orchestra/testbench": "^6.0",
37+
"orchestra/testbench": "^6.0|^7.0",
3838
"phpunit/phpunit": "^9.3"
3939
},
4040
"autoload": {

0 commit comments

Comments
 (0)