Add explicit test for @enum
directive
#2770
Annotations
10 errors and 1 warning
Run vendor/bin/phpstan:
src/Execution/ModelsLoader/PaginatedModelsLoader.php#L74
Call to function assert() with false and 'Non-null because…' will always evaluate to false.
|
Run vendor/bin/phpstan:
src/Execution/ModelsLoader/PaginatedModelsLoader.php#L74
Instanceof between Illuminate\Support\Collection|null and Illuminate\Database\Eloquent\Relations\Relation will always evaluate to false.
|
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/TestCase)#L31
Property Tests\TestCase::$introspectionResult with generic class Illuminate\Testing\TestResponse does not specify its types: TResponse
|
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/TestCase)#L45
Method Tests\TestCase::graphQL() return type with generic class Illuminate\Testing\TestResponse does not specify its types: TResponse
|
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/TestCase)#L73
Method Tests\TestCase::postGraphQL() return type with generic class Illuminate\Testing\TestResponse does not specify its types: TResponse
|
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/TestCase)#L94
Method Tests\TestCase::multipartGraphQL() return type with generic class Illuminate\Testing\TestResponse does not specify its types: TResponse
|
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/TestCase)#L126
Method Tests\TestCase::introspect() return type with generic class Illuminate\Testing\TestResponse does not specify its types: TResponse
|
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/Unit/Testing/TestingTraitDummy)#L31
Property Tests\Unit\Testing\TestingTraitDummy::$introspectionResult with generic class Illuminate\Testing\TestResponse does not specify its types: TResponse
|
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/Unit/Testing/TestingTraitDummy)#L45
Method Tests\Unit\Testing\TestingTraitDummy::graphQL() return type with generic class Illuminate\Testing\TestResponse does not specify its types: TResponse
|
Run vendor/bin/phpstan:
src/Testing/MakesGraphQLRequests.php (in context of class Tests/Unit/Testing/TestingTraitDummy)#L73
Method Tests\Unit\Testing\TestingTraitDummy::postGraphQL() return type with generic class Illuminate\Testing\TestResponse does not specify its types: TResponse
|
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