owncloud/core

View on GitHub

Showing 3,235 of 4,503 total issues

Avoid too many return statements within this method.
Open

            return $this->getServer()->getEventDispatcher();
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 $stability;
    Severity: Major
    Found in lib/private/App/PlatformRepository.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return $storage;
      Severity: Major
      Found in lib/private/legacy/util.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return new \OC\Memcache\Factory(
                            $prefix,
                            $c->getLogger(),
                            $config->getSystemValue('memcache.local', null),
                            $config->getSystemValue('memcache.distributed', null),
        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 TagMapper($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 DateTimeZone(
                              $c->getConfig(),
                              $c->getSession()
                          );
              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 AccountMapper($c->getConfig(), $c->getDatabaseConnection(), new AccountTermMapper($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 Mailer(
                                    $c->getConfig(),
                                    $c->getLogger(),
                                    new \OC_Defaults()
                                );
                    Severity: Major
                    Found in lib/private/Server.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                    return $groupManager;
                        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 \OC\OCS\CoreCapabilities($c->getConfig(), $c->getURLGenerator());
                            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 CryptoWrapper(
                                                $c->getCrypto(),
                                                $c->getSecureRandom(),
                                                $request,
                                                $c->getTimeFactory()
                                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 WebDavClientService(
                                                    $c->getConfig(),
                                                    new \OC\Security\CertificateManager($uid, new View(), $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 new NoopLockingProvider();
                                        Severity: Major
                                        Found in lib/private/Server.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language