Skip to content

Updates the migration to use the connection entered in the configurat… #194

Updates the migration to use the connection entered in the configurat…

Updates the migration to use the connection entered in the configurat… #194

Triggered via push July 13, 2024 15:06
Status Failure
Total duration 41s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpstan: src/Console/Commands/MarkJobsAsStaleCommand.php#L36
Parameter #2 $callback of method Illuminate\Database\Eloquent\Builder<romanzipp\QueueMonitor\Models\Monitor>::chunk() expects callable(Illuminate\Support\Collection<int, romanzipp\QueueMonitor\Models\Monitor>, int): mixed, Closure(Illuminate\Database\Eloquent\Collection, int): void given.
phpstan: src/Console/Commands/PurgeOldMonitorsCommand.php#L47
Parameter #2 $callback of method Illuminate\Database\Eloquent\Builder<romanzipp\QueueMonitor\Models\Monitor>::chunk() expects callable(Illuminate\Support\Collection<int, romanzipp\QueueMonitor\Models\Monitor>, int): mixed, Closure(Illuminate\Database\Eloquent\Collection, int): void given.
phpstan: src/Models/Monitor.php#L45
PHPDoc tag @mixin contains generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModel
phpstan: src/Models/Monitor.php#L89
Method romanzipp\QueueMonitor\Models\Monitor::scopeWhereJob() has parameter $query with generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModel
phpstan: src/Models/Monitor.php#L94
Method romanzipp\QueueMonitor\Models\Monitor::scopeOrdered() has parameter $query with generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModel
phpstan: src/Models/Monitor.php#L101
Method romanzipp\QueueMonitor\Models\Monitor::scopeLastHour() has parameter $query with generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModel
phpstan: src/Models/Monitor.php#L106
Method romanzipp\QueueMonitor\Models\Monitor::scopeToday() has parameter $query with generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModel
phpstan: src/Models/Monitor.php#L111
Method romanzipp\QueueMonitor\Models\Monitor::scopeFailed() has parameter $query with generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModel
phpstan: src/Models/Monitor.php#L116
Method romanzipp\QueueMonitor\Models\Monitor::scopeSucceeded() has parameter $query with generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModel
phpstan
Process completed with exit code 1.
phpstan
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/
phpstan
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/