Skip to content

Force int cast on ModelsLoader count #2818

Force int cast on ModelsLoader count

Force int cast on ModelsLoader count #2818

Triggered via pull request January 8, 2025 00:14
Status Failure
Total duration 4m 54s
Artifacts

validate.yml

on: pull_request
Matrix: benchmarks
Matrix: coverage
Matrix: static-analysis
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 38 warnings
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: src/Execution/BatchLoader/RelationBatchLoader.php#L68
Parameter #1 $parents of method Nuwave\Lighthouse\Execution\ModelsLoader\ModelsLoader::load() expects Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Collection<string, Illuminate\Database\Eloquent\Model> given.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies: src/Execution/BatchLoader/RelationBatchLoader.php#L68
Parameter #1 $parents of method Nuwave\Lighthouse\Execution\ModelsLoader\ModelsLoader::load() expects Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Collection<string, Illuminate\Database\Eloquent\Model> given.
PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies: src/Execution/BatchLoader/RelationBatchLoader.php#L68
Parameter #1 $parents of method Nuwave\Lighthouse\Execution\ModelsLoader\ModelsLoader::load() expects Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Collection<string, Illuminate\Database\Eloquent\Model> given.
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: src/Execution/BatchLoader/RelationBatchLoader.php#L68
Parameter #1 $parents of method Nuwave\Lighthouse\Execution\ModelsLoader\ModelsLoader::load() expects Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Collection<string, Illuminate\Database\Eloquent\Model> given.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies: src/Execution/BatchLoader/RelationBatchLoader.php#L68
Parameter #1 $parents of method Nuwave\Lighthouse\Execution\ModelsLoader\ModelsLoader::load() expects Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Collection<string, Illuminate\Database\Eloquent\Model> given.
PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies: src/Execution/BatchLoader/RelationBatchLoader.php#L68
Parameter #1 $parents of method Nuwave\Lighthouse\Execution\ModelsLoader\ModelsLoader::load() expects Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Collection<string, Illuminate\Database\Eloquent\Model> given.
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies: src/Execution/BatchLoader/RelationBatchLoader.php#L68
Parameter #1 $parents of method Nuwave\Lighthouse\Execution\ModelsLoader\ModelsLoader::load() expects Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Collection<string, Illuminate\Database\Eloquent\Model> given.
PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: src/Execution/BatchLoader/RelationBatchLoader.php#L68
Parameter #1 $parents of method Nuwave\Lighthouse\Execution\ModelsLoader\ModelsLoader::load() expects Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Collection<string, Illuminate\Database\Eloquent\Model> given.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies: src/Execution/BatchLoader/RelationBatchLoader.php#L68
Parameter #1 $parents of method Nuwave\Lighthouse\Execution\ModelsLoader\ModelsLoader::load() expects Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Collection<string, Illuminate\Database\Eloquent\Model> given.
PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
coverage (8.3, ^11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.2 with Laravel ^10 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.1 with Laravel ^9 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.1 with Laravel ^9 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.0 with Laravel ^9 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.1 with Laravel ^10 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.1 with Laravel ^10 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.2 with Laravel ^10 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.3 with Laravel ^10 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.2 with Laravel ^9 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.3 with Laravel ^9 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.0 with Laravel ^9 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.2 with Laravel ^11 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.3 with Laravel ^10 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.3 with Laravel ^11 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.3 with Laravel ^11 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.2 with Laravel ^9 and highest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
benchmarks (8.3, ^11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.2 with Laravel ^11 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on PHP 8.3 with Laravel ^9 and lowest dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636