owncloud/core

View on GitHub

Showing 3,236 of 4,502 total issues

Avoid too many return statements within this method.
Open

                    return true;
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\NavigationManager(
                    $c->getAppManager(),
                    $c->getURLGenerator(),
                    $c->getL10NFactory(),
                    $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 new \OC\AllConfig(
                      $c->getSystemConfig(),
                      $c->getEventDispatcher()
                  );
      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\AppHelper();
        Severity: Major
        Found in lib/private/Server.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return new TempManager(
                          $c->getLogger(),
                          $c->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 IniGetWrapper();
            Severity: Major
            Found in lib/private/Server.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

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

                Avoid too many return statements within this method.
                Open

                            return new Encryption\Keys\Storage(
                                $view,
                                $util,
                                $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 $c->query('SystemTagManagerFactory')->getManager();
                  Severity: Major
                  Found in lib/private/Server.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return $c->query('SystemTagManagerFactory')->getObjectMapper();
                    Severity: Major
                    Found in lib/private/Server.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                    return new Cache\File();
                        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\Activity\Manager(
                                          $c->getRequest(),
                                          $c->getUserSession(),
                                          $c->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 Log($logger);
                            Severity: Major
                            Found in lib/private/Server.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

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

                                Avoid too many return statements within this method.
                                Open

                                            return new Checker(
                                                new EnvironmentHelper(),
                                                new FileAccessHelper(),
                                                new AppLocator(),
                                                $config,
                                Severity: Major
                                Found in lib/private/Server.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return new DBLockingProvider($c->getDatabaseConnection(), $c->getLogger(), new TimeFactory(), $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 DBConfigService(
                                                    $c->getDatabaseConnection(),
                                                    $c->getCrypto()
                                                );
                                    Severity: Major
                                    Found in lib/private/Server.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return [];
                                      Severity: Major
                                      Found in lib/private/Share/Share.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

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