Skip to content

Commit 361ae9c

Browse files
authored
Laravel 10 support (#1)
* Laravel 10 support
1 parent a95c43d commit 361ae9c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
php: [ 8.0, 8.1, 8.2 ]
14-
laravel: [ ^8.12, ^9.0 ]
14+
laravel: [ ^8.12, ^9.0, ^10.0 ]
1515
exclude:
1616
- php: 8.2
1717
laravel: ^8.12
18+
- php: 8.0
19+
laravel: ^10.0
1820
name: PHP=${{ matrix.php }} LARAVEL=${{ matrix.laravel }}
1921
runs-on: ubuntu-latest
2022
env:

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
],
1717
"require": {
1818
"php": "^8.0",
19-
"illuminate/contracts": "^8.12|^9.0",
20-
"illuminate/support": "^8.12|^9.0",
19+
"illuminate/contracts": "^8.12|^9.0|^10.0",
20+
"illuminate/support": "^8.12|^9.0|^10.0",
2121
"nesbot/carbon": "^2.13"
2222
},
2323
"require-dev": {
2424
"friendsofphp/php-cs-fixer": "^3.0",
25-
"nunomaduro/larastan": "^1.0",
26-
"orchestra/testbench": "^6.0|^7.0",
25+
"nunomaduro/larastan": "^1.0|^2.4",
26+
"orchestra/testbench": "^6.0|^7.0|^8.0",
2727
"phpunit/phpunit": "^8.0|^9.0"
2828
},
2929
"autoload": {
@@ -54,7 +54,6 @@
5454
"minimum-stability": "dev",
5555
"prefer-stable": true,
5656
"config": {
57-
"preferred-install": "dist",
5857
"sort-packages": true
5958
}
6059
}

0 commit comments

Comments
 (0)