Skip to content

Commit a5580aa

Browse files
authored
Merge pull request #48 from askdkc/support-laravel10
Add Support for Laravel 10
2 parents 08f7938 + b74c77c commit a5580aa

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest]
1616
php: [8.2, 8.1, 8.0]
17-
laravel: [9.*]
17+
laravel: [10.*, 9.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: 9.*
2121
testbench: 7.*
2222
carbon: ^2.63
23+
- laravel: 10.*
24+
testbench: 8.*
25+
carbon: ^2.63
26+
exclude:
27+
- laravel: 10.*
28+
php: 8.0
2329

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

composer.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^8.0.2",
22-
"illuminate/contracts": "^9.0",
21+
"php": "^8.0",
22+
"illuminate/contracts": "^9.0|^10.0",
2323
"league/csv": "^9.8",
2424
"livewire/livewire": "^2.10",
2525
"spatie/laravel-package-tools": "^1.9.2"
@@ -28,13 +28,11 @@
2828
"laravel/pint": "^1.0",
2929
"nunomaduro/collision": "^6.0",
3030
"nunomaduro/larastan": "^2.0",
31-
"orchestra/testbench": "^7.0",
32-
"pestphp/pest": "^1.21",
31+
"orchestra/testbench": "^7.0|^8.0",
32+
"pestphp/pest": "^1.21|^2.0",
3333
"pestphp/pest-plugin-laravel": "^1.1",
3434
"pestphp/pest-plugin-livewire": "^1.0",
35-
"phpstan/extension-installer": "^1.1",
36-
"phpstan/phpstan-deprecation-rules": "^1.0",
37-
"phpstan/phpstan-phpunit": "^1.0",
35+
"phpstan/extension-installer": "^1.2",
3836
"phpunit/phpunit": "^9.5"
3937
},
4038
"autoload": {

phpstan.neon.dist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ parameters:
88
- config
99
- database
1010
tmpDir: build/phpstan
11-
checkOctaneCompatibility: true
12-
checkModelProperties: true
1311
checkMissingIterableValueType: false
1412
checkGenericClassInNonGenericObjectType: false
1513
bootstrapFiles:

0 commit comments

Comments
 (0)