listen to JobPushed event for Horizon #195
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:
src/Services/QueueMonitor.php#L51
Parameter $event of method romanzipp\QueueMonitor\Services\QueueMonitor::handleJobPushed() has invalid type Laravel\Horizon\Events\JobPushed.
|
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/
|