Skip to content

Commit

Permalink
Merge pull request #48 from askdkc/support-laravel10
Browse files Browse the repository at this point in the history
Add Support for Laravel 10
  • Loading branch information
askdkc authored Jan 16, 2023
2 parents 08f7938 + b74c77c commit a5580aa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,18 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1, 8.0]
laravel: [9.*]
laravel: [10.*, 9.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
carbon: ^2.63
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
exclude:
- laravel: 10.*
php: 8.0

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

Expand Down
12 changes: 5 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
}
],
"require": {
"php": "^8.0.2",
"illuminate/contracts": "^9.0",
"php": "^8.0",
"illuminate/contracts": "^9.0|^10.0",
"league/csv": "^9.8",
"livewire/livewire": "^2.10",
"spatie/laravel-package-tools": "^1.9.2"
Expand All @@ -28,13 +28,11 @@
"laravel/pint": "^1.0",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^7.0",
"pestphp/pest": "^1.21",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.21|^2.0",
"pestphp/pest-plugin-laravel": "^1.1",
"pestphp/pest-plugin-livewire": "^1.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/extension-installer": "^1.2",
"phpunit/phpunit": "^9.5"
},
"autoload": {
Expand Down
2 changes: 0 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ parameters:
- config
- database
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
bootstrapFiles:
Expand Down

0 comments on commit a5580aa

Please sign in to comment.