Skip to content

Commit 906f95e

Browse files
committed
Add Laravel 10 support
1 parent d376c09 commit 906f95e

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
uses: actions/cache@v2
1717
with:
1818
path: ~/.composer/cache/files
19-
key: dependencies-php-8.1-illuminate-9.*-composer-${{ hashFiles('composer.json') }}
19+
key: dependencies-php-8.2-illuminate-10.*-composer-${{ hashFiles('composer.json') }}
2020

2121
- name: Setup PHP
2222
uses: shivammathur/setup-php@v2
2323
with:
24-
php-version: 8.1
24+
php-version: 8.2
2525
extensions: dom, libxml, mbstring, zip, pcntl
2626
coverage: xdebug
2727

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [ 7.4, 8.0, 8.1 ]
17-
illuminate: [ 6.*, 7.*, ~8.74, ^9.0 ]
16+
php: [ 8.0, 8.1, 8.2 ]
17+
illuminate: [ 7.*, ~8.74, ^9.0, ^10.0 ]
1818
stability: [ prefer-lowest, prefer-stable ]
1919
include:
2020
- illuminate: 6.*
@@ -26,12 +26,14 @@ jobs:
2626
- illuminate: ^9.0
2727
testbench: 7.*
2828
exclude:
29-
- php: 7.4
30-
illuminate: ^9.0
3129
- php: 8.1
3230
illuminate: 7.*
3331
- php: 8.1
3432
illuminate: 6.*
33+
- php: 8.0
34+
illuminate: ^10.0
35+
- php: 8.2
36+
illuminate: 7.*
3537

3638
name: P${{ matrix.php }} - I${{ matrix.illuminate }} - ${{ matrix.stability }}
3739

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
}
1111
],
1212
"require": {
13-
"php": "~7.4|8.*",
14-
"laravel/framework": "6.*|7.*|~8.74|^9.0",
13+
"php": "8.*",
14+
"laravel/framework": "7.*|~8.74|^9.0|^10.0",
1515
"markwalet/laravel-git-state": "~1.0",
1616
"ext-simplexml": "*",
1717
"ext-dom": "*"
1818
},
1919
"require-dev": {
2020
"phpunit/phpunit": "~9.3",
2121
"mockery/mockery": "~1.4",
22-
"orchestra/testbench": "4.*|5.*|6.*|7.*"
22+
"orchestra/testbench": "5.*|6.*|7.*|8.*"
2323
},
2424
"autoload": {
2525
"psr-4": {

0 commit comments

Comments
 (0)