Skip to content

Commit dae03ca

Browse files
authored
[5.x] Laravel v10 Support (#618)
* Update composer.json * Update tests.yml
1 parent 4fe60e7 commit dae03ca

File tree

2 files changed

+24
-16
lines changed

2 files changed

+24
-16
lines changed

.github/workflows/tests.yml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,35 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
20-
laravel: [^6.0, ^7.0, ^8.0, ^9.0]
19+
php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2]
20+
laravel: [6, 7, 8, 9, 10]
2121
exclude:
2222
- php: 7.2
23-
laravel: ^8.0
23+
laravel: 8
2424
- php: 7.2
25-
laravel: ^9.0
25+
laravel: 9
26+
- php: 7.2
27+
laravel: 10
28+
- php: 7.3
29+
laravel: 9
2630
- php: 7.3
27-
laravel: ^9.0
31+
laravel: 10
32+
- php: 7.4
33+
laravel: 9
2834
- php: 7.4
29-
laravel: ^9.0
35+
laravel: 10
36+
- php: '8.0'
37+
laravel: 10
3038
- php: 8.1
31-
laravel: ^6.0
39+
laravel: 6
3240
- php: 8.1
33-
laravel: ^7.0
41+
laravel: 7
3442
- php: 8.2
35-
laravel: ^6.0
43+
laravel: 6
3644
- php: 8.2
37-
laravel: ^7.0
45+
laravel: 7
3846
- php: 8.2
39-
laravel: ^8.0
47+
laravel: 8
4048

4149
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
4250

@@ -55,7 +63,7 @@ jobs:
5563

5664
- name: Install dependencies
5765
run: |
58-
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
66+
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
5967
composer update --prefer-dist --no-interaction --no-progress
6068
6169
- name: Execute tests

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
"php": "^7.2|^8.0",
1919
"ext-json": "*",
2020
"guzzlehttp/guzzle": "^6.0|^7.0",
21-
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0",
22-
"illuminate/http": "^6.0|^7.0|^8.0|^9.0",
23-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
21+
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0",
22+
"illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0",
23+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0",
2424
"league/oauth1-client": "^1.10.1"
2525
},
2626
"require-dev": {
2727
"mockery/mockery": "^1.0",
28-
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0",
28+
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0",
2929
"phpunit/phpunit": "^8.0|^9.3"
3030
},
3131
"autoload": {

0 commit comments

Comments
 (0)