Skip to content

Increase PHPStan level to 5 #95

Increase PHPStan level to 5

Increase PHPStan level to 5 #95

Triggered via pull request September 9, 2024 15:49
Status Failure
Total duration 35s
Artifacts

static-analysis.yml

on: pull_request
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

3 errors
phpstan (8.3, stable): tests/Concatenation/LaravelAdjacencyList/AncestorsTest.php#L67
Parameter #1 $relations of method Illuminate\Database\Eloquent\Collection<int,Tests\Concatenation\LaravelAdjacencyList\Models\User>::load() expects array<(callable(Illuminate\Database\Eloquent\Builder<Tests\Concatenation\LaravelAdjacencyList\Models\User>): mixed)|string>|string, array{ancestorPosts: Closure(Staudenmeir\EloquentHasManyDeep\HasManyDeep): Staudenmeir\EloquentHasManyDeep\HasManyDeep<Illuminate\Database\Eloquent\Model>} given.
phpstan (8.3, stable): tests/Concatenation/LaravelAdjacencyList/BloodlineTest.php#L37
Parameter #1 $relations of method Illuminate\Database\Eloquent\Collection<int,Tests\Concatenation\LaravelAdjacencyList\Models\User>::load() expects array<(callable(Illuminate\Database\Eloquent\Builder<Tests\Concatenation\LaravelAdjacencyList\Models\User>): mixed)|string>|string, array{bloodlinePosts: Closure(Staudenmeir\EloquentHasManyDeep\HasManyDeep): Staudenmeir\EloquentHasManyDeep\HasManyDeep<Illuminate\Database\Eloquent\Model>} given.
phpstan (8.3, stable)
Process completed with exit code 1.