Skip to content

Commit 5e22d7d

Browse files
authored
Add support for Laravel 10 (#9)
1 parent 1ff4c40 commit 5e22d7d

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

Diff for: .github/workflows/run-tests.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
php: [ 8.0, 8.1 ]
12-
laravel: [ 8.*, 9.* ]
12+
laravel: [ 8.*, 9.*, 10.* ]
1313
dependency-version: [ prefer-stable ]
1414
include:
1515
- laravel: 5.7.*
@@ -37,6 +37,12 @@ jobs:
3737
testbench: 6.*
3838
- laravel: 9.*
3939
testbench: 7.*
40+
- laravel: 10.*
41+
php: 8.1
42+
testbench: 8.*
43+
exclude:
44+
- laravel: 10.*
45+
php: 8.0
4046

4147
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
4248

@@ -56,6 +62,9 @@ jobs:
5662
php-version: ${{ matrix.php }}
5763
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
5864
coverage: xdebug
65+
66+
- name: Allow kylekatarnls/update-helper plugin to run
67+
run: composer config --no-plugins allow-plugins.kylekatarnls/update-helper true
5968

6069
- name: Install dependencies
6170
run: composer update --with="illuminate/support:${{ matrix.laravel }}" --with="orchestra/testbench:${{ matrix.testbench }}" --prefer-dist --no-interaction --no-progress

Diff for: composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"require": {
1818
"php": "^7.1|^8.0",
1919
"codezero/dotenv-updater": "^1.1",
20-
"illuminate/support": "^5.7|^6.0|^7.0|^8.0|^9.0"
20+
"illuminate/support": "^5.7|^6.0|^7.0|^8.0|^9.0|^10.0"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "^3.7|^4.0|^5.0|^6.0|^7.0",
23+
"orchestra/testbench": "^3.7|^4.0|^5.0|^6.0|^7.0|^8.0",
2424
"phpunit/phpunit": "^7.0|^8.0|^9.0"
2525
},
2626
"scripts": {

0 commit comments

Comments
 (0)