symplely/thread_queue

View on GitHub
Threads/Uv/UVFunctions.php

Summary

Maintainability
D
1 day
Test Coverage

File UVFunctions.php has 460 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

/**
 * create a `new` loop handle.
 *
Severity: Minor
Found in Threads/Uv/UVFunctions.php - About 7 hrs to fix

    Method uv_spawn has 9 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        UVLoop $loop,
        string $command,
        array $args,
        array $stdio,
        string $cwd,
    Severity: Major
    Found in Threads/Uv/UVFunctions.php - About 1 hr to fix

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

      function uv_fs_sendfile(UVLoop $loop, $out_fd, $in_fd, int $offset, int $length, callable $callback)
      Severity: Minor
      Found in Threads/Uv/UVFunctions.php - About 45 mins to fix

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

        function uv_fs_read(UVLoop $loop, $fd, int $offset, int $length, callable $callback)
        Severity: Minor
        Found in Threads/Uv/UVFunctions.php - About 35 mins to fix

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

          function uv_getaddrinfo(UVLoop $loop, callable $callback, string $node = null, string $service = null, array $hints = [])
          Severity: Minor
          Found in Threads/Uv/UVFunctions.php - About 35 mins to fix

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

            function uv_fs_symlink(UVLoop $loop, string $from, string $to, int $flags, callable $callback)
            Severity: Minor
            Found in Threads/Uv/UVFunctions.php - About 35 mins to fix

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

              function uv_fs_utime(UVLoop $loop, string $path, int $utime, int $atime, callable $callback)
              Severity: Minor
              Found in Threads/Uv/UVFunctions.php - About 35 mins to fix

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

                function uv_fs_fchown(UVLoop $loop, $fd, int $uid, int $gid, callable $callback)
                Severity: Minor
                Found in Threads/Uv/UVFunctions.php - About 35 mins to fix

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

                  function uv_fs_open(UVLoop $loop, string $path, int $flag, int $mode, callable $callback)
                  Severity: Minor
                  Found in Threads/Uv/UVFunctions.php - About 35 mins to fix

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

                    function uv_fs_write(UVLoop $loop, $fd, string $buffer, int $offset = -1, callable $callback)
                    Severity: Minor
                    Found in Threads/Uv/UVFunctions.php - About 35 mins to fix

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

                      function uv_fs_futime(UVLoop $loop, $fd, int $utime, int $atime, callable $callback)
                      Severity: Minor
                      Found in Threads/Uv/UVFunctions.php - About 35 mins to fix

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

                        function uv_fs_chown(UVLoop $loop, string $path, int $uid, int $gid, callable $callback)
                        Severity: Minor
                        Found in Threads/Uv/UVFunctions.php - About 35 mins to fix

                          There are no issues that match your filters.

                          Category
                          Status