Skip to content

editable tags & improved crud #6

editable tags & improved crud

editable tags & improved crud #6

Triggered via pull request June 9, 2024 04:52
Status Failure
Total duration 7m 59s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Larastan: app/Actions/Fortify/UpdateUserProfileInformation.php#L29
Parameter #1 $photo of method App\Models\User::updateProfilePhoto() expects Illuminate\Http\UploadedFile, string given.
Larastan: app/Actions/Jetstream/CreateTeam.php#L37
Method App\Actions\Jetstream\CreateTeam::create() should return App\Models\Team but returns Illuminate\Database\Eloquent\Model.
Larastan: app/Actions/Jetstream/DeleteUser.php#L50
Parameter #1 $callback of method Illuminate\Support\Collection<int,Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int): mixed, Closure(App\Models\Team): void given.
Larastan: app/Actions/Jetstream/InviteTeamMember.php#L39
Parameter #1 $invitation of class Laravel\Jetstream\Mail\TeamInvitation constructor expects Laravel\Jetstream\TeamInvitation, Illuminate\Database\Eloquent\Model given.
Larastan: app/Actions/Jetstream/RemoveTeamMember.php#L47
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
Larastan: app/Console/Commands/Operations/MakeOperationCommand.php#L20
Return type (void) of method App\Console\Commands\Operations\MakeOperationCommand::handle() should be compatible with return type (bool|null) of method Illuminate\Console\GeneratorCommand::handle()
Larastan: app/Console/Commands/VisitFacebookPageJob.php#L31
Call to an undefined method App\Console\Commands\VisitFacebookPageJob::browse().
Larastan: app/Console/Commands/VisitFacebookPageJob.php#L31
Parameter $browser of anonymous function has invalid type Laravel\Dusk\Browser.
Larastan: app/Console/Commands/VisitFacebookPageJob.php#L32
Call to method visit() on an unknown class Laravel\Dusk\Browser.
Larastan: app/Contracts/ModelQuery.php#L10
PHPDoc tag @mixin contains unknown class Illuminate\Database\Eloquent.
Larastan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Larastan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/