Skip to content

Local setup

Local setup #207

Triggered via pull request September 10, 2023 00:15
@fokosunfokosun
synchronize #283
local-setup
Status Failure
Total duration 1m 54s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
php-cs: app/Services/UserService.php#L68
Type Illuminate\Database\Eloquent\Builder in generic type Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Builder> in PHPDoc tag @return is not subtype of template type TModel of Illuminate\Database\Eloquent\Model of class Illuminate\Database\Eloquent\Collection.
php-cs: app/Services/UserService.php#L70
Method App\Services\UserService::show() should return Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Builder> but returns Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>.
php-cs
Process completed with exit code 1.
php-cs
The following actions uses node12 which is deprecated and will be forced to run on node16: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/