Skip to content

Commit ad7f1b4

Browse files
authored
Laravel 10 Support (#2)
* laravel 10 support
1 parent 1b39f5c commit ad7f1b4

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +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
1818
- php: 8.0
19-
laravel: ^9.0
19+
laravel: ^10.0
2020
name: PHP=${{ matrix.php }} LARAVEL=${{ matrix.laravel }}
2121
runs-on: ubuntu-latest
2222
env:

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
],
2020
"require": {
2121
"php": "^8.0",
22-
"illuminate/contracts": "^8.12|^9.0",
23-
"illuminate/support": "^8.12|^9.0",
24-
"illuminate/testing": "^8.12|^9.0"
22+
"illuminate/contracts": "^8.12|^9.0|^10.0",
23+
"illuminate/support": "^8.12|^9.0|^10.0",
24+
"illuminate/testing": "^8.12|^9.0|^10.0"
2525
},
2626
"require-dev": {
2727
"friendsofphp/php-cs-fixer": "^3.0",
28-
"nunomaduro/larastan": "^1.0",
29-
"orchestra/testbench": "^6.0|^7.0",
28+
"nunomaduro/larastan": "^1.0|^2.4",
29+
"orchestra/testbench": "^6.0|^7.0|^8.0",
3030
"phpunit/phpunit": "^8.0|^9.0"
3131
},
3232
"autoload": {
@@ -57,7 +57,6 @@
5757
"minimum-stability": "dev",
5858
"prefer-stable": true,
5959
"config": {
60-
"preferred-install": "dist",
6160
"sort-packages": true
6261
}
6362
}

src/GraphQLRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function createTestResponse($response)
3939
/** @var LaravelTestResponse $response */
4040

4141
// @codeCoverageIgnoreStart
42-
/** @var Collection $collection */
42+
/** @var Collection<int, mixed> $collection */
4343
$collection = $this->app->bound(LoggedExceptionCollection::class)
4444
? $this->app->make(LoggedExceptionCollection::class)
4545
: new LoggedExceptionCollection;

0 commit comments

Comments
 (0)