Skip to content

chore(deps-dev): bump larastan/larastan from 2.9.11 to 3.0.0 #2127

chore(deps-dev): bump larastan/larastan from 2.9.11 to 3.0.0

chore(deps-dev): bump larastan/larastan from 2.9.11 to 3.0.0 #2127

Triggered via pull request November 23, 2024 17:51
Status Failure
Total duration 4m 24s
Artifacts 1

laravel.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
laravel-tests: app/Console/Commands/PullChampionship.php#L30
Call to function is_string() with string will always evaluate to true.
laravel-tests: app/Jobs/ExportGame.php#L82
Using nullsafe property access "?->name" on left side of ?? is unnecessary. Use -> instead.
laravel-tests: app/Jobs/ExportGameHistory.php#L152
Using nullsafe property access "?->name" on left side of ?? is unnecessary. Use -> instead.
laravel-tests: app/Jobs/FindMatchesFromMatchup.php#L26
Property App\Jobs\FindMatchesFromMatchup::$client (App\Services\DotApi\InfiniteInterface|null) is never assigned null so it can be removed from the property type.
laravel-tests: app/Jobs/FindMatchesFromMatchup.php#L71
Parameter #1 $callback of method Illuminate\Support\LazyCollection<int,Illuminate\Database\Eloquent\Model>::filter() expects (callable(Illuminate\Database\Eloquent\Model, int): bool)|null, Closure(App\Models\Game): bool given.
laravel-tests: app/Jobs/FindMatchesFromMatchup.php#L78
Parameter #1 $callback of method Illuminate\Support\LazyCollection<int,Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int): mixed, Closure(App\Models\Game): void given.
laravel-tests: app/Jobs/FindPlayersFromTeam.php#L25
Property App\Jobs\FindPlayersFromTeam::$client (App\Services\DotApi\InfiniteInterface|null) is never assigned null so it can be removed from the property type.
laravel-tests: app/Jobs/ProcessMedalAnalytic.php#L56
Using nullsafe property access "?->name" on left side of ?? is unnecessary. Use -> instead.
laravel-tests: app/Jobs/ProcessOverviewAnalytic.php#L61
Using nullsafe property access "?->thumbnail_url" on left side of ?? is unnecessary. Use -> instead.
laravel-tests: app/Jobs/ProcessScrim.php#L29
Cannot call method each() on array<App\Models\Game>|Illuminate\Support\Collection<int, App\Models\Game>.

Artifacts

Produced during runtime
Name Size
coverage-html
1.29 MB