cs fix #78
Annotations
10 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#L52
Method App\TUF\TufFetcher::getLatestVersionForBranch() should return string but returns mixed.
|
phpstan:
app/TUF/TufFetcher.php#L53
Cannot access offset 'stability' on mixed.
|
phpstan:
app/TUF/TufFetcher.php#L54
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::sort() expects (callable(mixed, mixed): int)|int|null, Closure(mixed, mixed): bool given.
|
phpstan:
app/TUF/TufFetcher.php#L55
Cannot access offset 'version' on mixed.
|
phpstan:
app/TUF/TufFetcher.php#L55
Cannot access offset 'version' on mixed.
|
phpstan:
app/TUF/TufFetcher.php#L55
Parameter #1 $version1 of function version_compare expects string, mixed given.
|
phpstan:
app/TUF/TufFetcher.php#L55
Parameter #2 $version2 of function version_compare expects string, mixed given.
|
phpstan
Process completed with exit code 1.
|
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|