sunspikes/carrot

View on GitHub

Showing 2 of 2 total issues

Method add has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function add($name, callable $callable)
    {
        try {
            $config = $this->config;
            $this->channel->queue_declare(
Severity: Minor
Found in src/Consumer/Consumer.php - About 1 hr to fix

    Method __construct has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function __construct($exchange, $type = 'direct', $config = [])
        {
            $this->config = $this->buildConfig($config);
            $this->exchange = $exchange;
            $this->type = $type;
    Severity: Minor
    Found in src/Carrot.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language