Skip to content

Commit

Permalink
chore: add support for Laravel 10 (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangjchandler authored Feb 15, 2023
1 parent 2a812a5 commit fab8cd6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0]
laravel: [9.*]
php: [8.0, 8.1, 8.2]
laravel: [9.*, 10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
testbench: ^7.22
- laravel: 10.*
testbench: 8.*
exclude:
- laravel: 10.*
php: 8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"require": {
"php": "^8.0",
"ext-json": "*",
"illuminate/console": "^9.0",
"illuminate/database": "^9.0",
"illuminate/events": "^9.0",
"illuminate/support": "^9.0",
"illuminate/console": "^9.0 | ^10.0",
"illuminate/database": "^9.0 | ^10.0",
"illuminate/events": "^9.0 | ^10.0",
"illuminate/support": "^9.0 | ^10.0",
"spatie/yaml-front-matter": "^2.0",
"symfony/yaml": "^6.0"
},
"require-dev": {
"laravel/scout": "^9.4",
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^7.0",
"orchestra/testbench": "^7.0 | ^8.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
Expand Down Expand Up @@ -55,7 +55,8 @@
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
"phpstan/extension-installer": true,
"pestphp/pest-plugin": true
}
}
}

0 comments on commit fab8cd6

Please sign in to comment.