sfcod/jobqueue

View on GitHub
Queue/RedisQueue.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __construct has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

        JobResolverInterface $resolver,
        RedisDriver $redis,
        string $collection = 'queue_jobs',
        string $queue = 'default',
        int $expire = 60,
Severity: Minor
Found in Queue/RedisQueue.php - About 45 mins to fix

    Method buildJob has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        private function buildJob(string $id, string $queue, int $attempts, array $payload, ?int $reservedAt = null): Job
    Severity: Minor
    Found in Queue/RedisQueue.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status