symplely/coroutine

View on GitHub
Coroutine/Worker.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method spawn_task has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    $command,
    $timeout = 0,
    bool $display = false,
    $channel = null,
    $channelTask = null,
Severity: Major
Found in Coroutine/Worker.php - About 50 mins to fix

    Method spawn_await has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        $callable,
        $timeout = 0,
        bool $display = false,
        $channel = null,
        $channelTask = null,
    Severity: Major
    Found in Coroutine/Worker.php - About 50 mins to fix

      Method add_future has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          $command,
          $timeout = 0,
          bool $display = false,
          $channel = null,
          $channelTask = null,
      Severity: Major
      Found in Coroutine/Worker.php - About 50 mins to fix

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

            $command,
            int $signal = 0,
            $signalTask = null,
            $timeout = 0,
            bool $display = false
        Severity: Minor
        Found in Coroutine/Worker.php - About 35 mins to fix

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

              $command,
              $channel = null,
              $channelTask = null,
              $timeout = 0,
              bool $display = false
          Severity: Minor
          Found in Coroutine/Worker.php - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status