mooxphp/moox

View on GitHub
packages/jobs/src/JobManagerProvider.php

Summary

Maintainability
A
0 mins
Test Coverage

Method jobFinished has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    protected static function jobFinished(JobContract $job, bool $failed = false, ?\Throwable $exception = null): void
    {
        $monitor = JobManager::query()
            ->where('job_id', self::getJobId($job))
            ->where('attempt', $job->attempts())
Severity: Minor
Found in packages/jobs/src/JobManagerProvider.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status