Skip to content

Commit abd7235

Browse files
authored
Merge pull request #178 from advil0/master
Laravel 10 Support
2 parents 9e2eabe + d080a4c commit abd7235

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
php:
21-
- '8.0'
2221
- '8.1'
22+
- '8.2'
2323
laravel:
24-
- 8.*
2524
- 9.*
25+
- 10.*
2626
prefer:
2727
- 'prefer-lowest'
2828
- 'prefer-stable'
2929
include:
30-
- laravel: '8.*'
31-
testbench: '6.*'
3230
- laravel: 9.*
3331
testbench: 7.*
32+
- laravel: 10.*
33+
testbench: 8.*
3434

3535
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} --${{ matrix.prefer }}
3636

@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Install dependencies
5454
run: |
55-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "orchestra/database:${{ matrix.testbench }}" --no-interaction --no-update
55+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
5656
composer update --${{ matrix.prefer }} --prefer-dist --no-interaction --no-suggest
5757
5858
- name: Run tests

composer.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
}
2121
],
2222
"require": {
23-
"illuminate/database": "^8.83|^9.35",
24-
"illuminate/support": "^8.83|^9.35"
23+
"illuminate/database": "^9.35|^10.5",
24+
"illuminate/support": "^9.35|^10.5"
2525
},
2626
"autoload": {
2727
"psr-4": {
@@ -37,13 +37,11 @@
3737
"test": "vendor/bin/phpunit"
3838
},
3939
"require-dev": {
40-
"chelout/laravel-relationship-events": "^1.5",
40+
"chelout/laravel-relationship-events": "^1.5|^2.0",
4141
"laravel/legacy-factories": "^1.3",
4242
"livewire/livewire": "dev-master",
4343
"mockery/mockery": "^1.5",
44-
"orchestra/database": "^6.28|^7.0",
45-
"orchestra/testbench": "^6.28|^7.0",
46-
"orchestra/testbench-core": "^6.28|^7.0",
44+
"orchestra/testbench": "^7.23|^8.1.1",
4745
"phpunit/phpunit": "^9.5.25"
4846
},
4947
"config": {

0 commit comments

Comments
 (0)