Showing 42 of 1,086 total issues

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

    static function compile(string $scheme = null, string $authority = null, string $path = null, string $query = null, string $fragment = null) : string
Severity: Minor
Found in src/Url/Assemble.php - About 35 mins to fix

    Avoid too many return statements within this method.
    Open

                return $this->resolve($this->param($gem->name()), $args);
    Severity: Major
    Found in src/Resolver/Resolver.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return $this->filterable($gem, $this->vars($args, $gem->args()));
      Severity: Major
      Found in src/Resolver/Resolver.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return $this->resolve($plugin, $args);
        Severity: Major
        Found in src/Resolver/Resolver.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return fn(...$argv) => $this->resolve($this->call(
                          $this->resolve($gem->config()), $this->vars($this->variadic($argv), $gem->args())
                      ));
          Severity: Major
          Found in src/Resolver/Resolver.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return $this->configured($gem->name());
            Severity: Major
            Found in src/Resolver/Resolver.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return $this->resolve($gem->plugin(), $args);
              Severity: Major
              Found in src/Resolver/Resolver.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return clone $this->resolve($gem->config(), $args);
                Severity: Major
                Found in src/Resolver/Resolver.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return $this->call($this->resolve($gem->config()), $this->vars($args, $gem->args()));
                  Severity: Major
                  Found in src/Resolver/Resolver.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return $this->scoped($gem->closure(), $gem->scoped());
                    Severity: Major
                    Found in src/Resolver/Resolver.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return $next($route, $request->with(CONTROLLER, $controller));
                      Severity: Major
                      Found in src/Route/Match/Controller.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return $this->args($gem->config());
                        Severity: Major
                        Found in src/Resolver/Resolver.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return $gem->config();
                          Severity: Major
                          Found in src/Resolver/Resolver.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return $this->config;
                            Severity: Major
                            Found in src/Resolver/Resolver.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return $this;
                              Severity: Major
                              Found in src/Resolver/Resolver.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return fn(...$argv) => $this->resolve($gem->config(), $this->vars($this->variadic($argv), $gem->args()));
                                Severity: Major
                                Found in src/Resolver/Resolver.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return ($this->provider() ?? new Unresolvable)($gem->config(), $this->vars($args, $gem->args()));
                                  Severity: Major
                                  Found in src/Resolver/Resolver.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return $this->shared($gem->name(), $gem->config(), $args);
                                    Severity: Major
                                    Found in src/Resolver/Resolver.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return (new class() {
                                                      function __invoke($file) {
                                                          return include $file;
                                                      }
                                                  })($this->resolve($gem->config()));
                                      Severity: Major
                                      Found in src/Resolver/Resolver.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return $this->resolve($gem->exception(), $gem->args($exception, $args));
                                        Severity: Major
                                        Found in src/Resolver/Resolver.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language