Skip to content

Commit

Permalink
Laravel 10.x Support
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 committed Jan 30, 2023
1 parent f00cb28 commit 886388b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/phpunit.xml.dist export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.php.cs export-ignore
/.php_cs.dist.php export-ignore
/.github export-ignore

/phpstan.neon.dist export-ignore
/phpstan-baseline.neon export-ignore
8 changes: 7 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
matrix:
os: [ ubuntu-latest ]
php: [ 8.2, 8.1, 8.0]
laravel: [ 9.*, 8.* ]
laravel: [ 10.*, 9.*, 8.* ]
dependency-version: [ prefer-stable ]
include:
- laravel: 8.*
Expand All @@ -27,6 +27,12 @@ jobs:
- laravel: 9.*
testbench: 7.*
larastan: ^1.0
- laravel: 10.*
testbench: 8.*
larastan: ^2.0
exclude:
- laravel: 10.*
php: 8.0

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

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"require" : {
"php" : "^7.4|^8.0",
"ext-json" : "*",
"illuminate/database" : "^8.73|^9.0",
"illuminate/database" : "^8.73|^9.0|^10.0",
"doctrine/dbal" : "^2.13|^3.2",
"phpdocumentor/type-resolver" : "^1.5",
"spatie/temporary-directory" : "^1.3|^2.0"
Expand All @@ -27,7 +27,7 @@
"ext-redis": "*",
"mockery/mockery": "^1.4",
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^6.23|^7.0",
"orchestra/testbench": "^6.23|^7.0|^8.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.2",
"phpstan/extension-installer": "^1.1",
Expand Down

0 comments on commit 886388b

Please sign in to comment.