cs fix #81
Annotations
6 errors and 1 warning
phpstan:
app/TUF/TufFetcher.php#L23
Method App\TUF\TufFetcher::getReleases() return type with generic class Illuminate\Support\Collection does not specify its types: TKey, TValue
|
phpstan:
app/TUF/TufFetcher.php#L26
Method App\TUF\TufFetcher::getReleases() should return Illuminate\Support\Collection but returns mixed.
|
phpstan:
app/TUF/TufFetcher.php#L54
Method App\TUF\TufFetcher::getLatestVersionForBranch() should return string but returns mixed.
|
phpstan:
app/TUF/TufFetcher.php#L54
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::filter() expects (callable(mixed, int|string): bool)|null, Closure(App\TUF\ReleaseData): bool given.
|
phpstan:
app/TUF/TufFetcher.php#L56
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::sort() expects (callable(mixed, mixed): int)|int|null, Closure(App\TUF\ReleaseData, App\TUF\ReleaseData): bool given.
|
phpstan
Process completed with exit code 1.
|
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|