Update dependencies #2774
Annotations
10 errors and 1 warning
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/TestCase)#L33
PHPDoc tag @var for property Tests\TestCase::$introspectionResult contains generic type Illuminate\Testing\TestResponse<Symfony\Component\HttpFoundation\Response> but class Illuminate\Testing\TestResponse is not generic.
|
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/Unit/Testing/TestingTraitDummy)#L33
PHPDoc tag @var for property Tests\Unit\Testing\TestingTraitDummy::$introspectionResult contains generic type Illuminate\Testing\TestResponse<Symfony\Component\HttpFoundation\Response> but class Illuminate\Testing\TestResponse is not generic.
|
Run vendor/bin/phpstan:
src/Testing/TestResponseUtils.php#L17
PHPDoc tag @param for parameter $response contains generic type Illuminate\Testing\TestResponse<Symfony\Component\HttpFoundation\Response> but class Illuminate\Testing\TestResponse is not generic.
|
Run vendor/bin/phpstan:
tests/Integration/Pagination/PaginateDirectiveDBTest.php#L274
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Tests\Utils\Models\Post, Tests\Utils\Models\User> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\HasMany supports only 1: TRelatedModel
|
Run vendor/bin/phpstan:
tests/Integration/Pagination/PaginateDirectiveDBTest.php#L276
Method Tests\Integration\Pagination\PaginateDirectiveDBTest::builderForRelation() should return Illuminate\Database\Eloquent\Relations\HasMany<Tests\Utils\Models\Post, Tests\Utils\Models\User> but returns Illuminate\Database\Eloquent\Relations\HasMany<Tests\Utils\Models\Post>.
|
Run vendor/bin/phpstan:
tests/Integration/Schema/Directives/AllDirectiveTest.php#L311
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Tests\Utils\Models\Post, Tests\Utils\Models\User> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\HasMany supports only 1: TRelatedModel
|
Run vendor/bin/phpstan:
tests/Integration/Schema/Directives/AllDirectiveTest.php#L313
Method Tests\Integration\Schema\Directives\AllDirectiveTest::builderForRelation() should return Illuminate\Database\Eloquent\Relations\HasMany<Tests\Utils\Models\Post, Tests\Utils\Models\User> but returns Illuminate\Database\Eloquent\Relations\HasMany<Tests\Utils\Models\Post>.
|
Run vendor/bin/phpstan:
tests/Utils/Models/Activity.php#L32
Method Tests\Utils\Models\Activity::content() should return Illuminate\Database\Eloquent\Relations\MorphTo<Illuminate\Database\Eloquent\Model, $this(Tests\Utils\Models\Activity)> but returns Illuminate\Database\Eloquent\Relations\MorphTo<Illuminate\Database\Eloquent\Model, Tests\Utils\Models\Activity>.
|
Run vendor/bin/phpstan:
tests/Utils/Models/Activity.php#L38
Method Tests\Utils\Models\Activity::user() should return Illuminate\Database\Eloquent\Relations\BelongsTo<Tests\Utils\Models\User, $this(Tests\Utils\Models\Activity)> but returns Illuminate\Database\Eloquent\Relations\BelongsTo<Tests\Utils\Models\User, Tests\Utils\Models\Activity>.
|
Run vendor/bin/phpstan:
tests/Utils/Models/AlternateConnection.php#L29
Method Tests\Utils\Models\AlternateConnection::user() should return Illuminate\Database\Eloquent\Relations\BelongsTo<Tests\Utils\Models\User, $this(Tests\Utils\Models\AlternateConnection)> but returns Illuminate\Database\Eloquent\Relations\BelongsTo<Tests\Utils\Models\User, Tests\Utils\Models\AlternateConnection>.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading