owncloud/core

View on GitHub

Showing 3,235 of 4,503 total issues

Avoid too many return statements within this method.
Open

            return new LazyRoot(function () use ($c) {
                return $c->getRootFolder();
            });
Severity: Major
Found in lib/private/Server.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return new \OC\Authentication\Token\DefaultTokenProvider($mapper, $crypto, $config, $logger, $timeFactory);
    Severity: Major
    Found in lib/private/Server.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return new TimeFactory();
      Severity: Major
      Found in lib/private/Server.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return new TagManager($tagMapper, $c->getUserSession());
        Severity: Major
        Found in lib/private/Server.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return $manager;
          Severity: Major
          Found in lib/private/Server.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return new Crypto($c->getConfig(), $c->getSecureRandom());
            Severity: Major
            Found in lib/private/Server.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return new Db($c->getDatabaseConnection());
              Severity: Major
              Found in lib/private/Server.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return new TrustedDomainHelper($this->getConfig());
                Severity: Major
                Found in lib/private/Server.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return new AsyncBus($jobList);
                  Severity: Major
                  Found in lib/private/Server.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return new Request(
                                    [
                                        'get' => $_GET,
                                        'post' => $_POST,
                                        'files' => $_FILES,
                    Severity: Major
                    Found in lib/private/Server.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return "$bytes TB";
                      Severity: Major
                      Found in lib/private/legacy/helper.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                            return new MemcacheLockingProvider($memcache, $ttl);
                        Severity: Major
                        Found in lib/private/Server.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return new \OC\Files\Mount\Manager();
                          Severity: Major
                          Found in lib/private/Server.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return new CsrfTokenManager(
                                            $tokenGenerator,
                                            $sessionStorage
                                        );
                            Severity: Major
                            Found in lib/private/Server.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $bytes . "G";
                              Severity: Major
                              Found in lib/private/legacy/helper.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return $this->getServer()->getCommentsManager();
                                Severity: Major
                                Found in lib/private/AppFramework/DependencyInjection/DIContainer.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return $this->getServer()->getConfig();
                                  Severity: Major
                                  Found in lib/private/AppFramework/DependencyInjection/DIContainer.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return $this->getServer()->getDateTimeFormatter();
                                    Severity: Major
                                    Found in lib/private/AppFramework/DependencyInjection/DIContainer.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return false;
                                      Severity: Major
                                      Found in lib/private/legacy/db.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return false;
                                        Severity: Major
                                        Found in lib/private/legacy/image.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language