yiicod/yii2-jobqueue

View on GitHub
queues/MongoThreadQueue.php

Summary

Maintainability
A
3 hrs
Test Coverage

MongoThreadQueue has 23 functions (exceeds 20 allowed). Consider refactoring.
Open

class MongoThreadQueue extends Queue implements QueueContract
{
    /**
     * @var int
     */
Severity: Minor
Found in queues/MongoThreadQueue.php - About 2 hrs to fix

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

        public function __construct(Connection $database, $table, $default = 'default', $expire = 60, $limit = 15)
    Severity: Minor
    Found in queues/MongoThreadQueue.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status