owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

Avoid too many return statements within this method.
Open

        return "$bytes PB";
Severity: Major
Found in lib/private/legacy/helper.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 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

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                              return new \OC\Files\Storage\Wrapper\PermissionsMask([
                                  'storage' => $storage,
                                  'mask' => \OCP\Constants::PERMISSION_READ | \OCP\Constants::PERMISSION_SHARE
                              ]);
              Severity: Major
              Found in lib/private/legacy/util.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 $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 Http::STATUS_OK;
                    Severity: Major
                    Found in lib/private/legacy/api.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return $this->quoteColumn($column);
                      Severity: Major
                      Found in lib/private/DB/OracleMigrator.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return $this->quoteIndex($index);
                        Severity: Major
                        Found in lib/private/DB/OracleMigrator.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return new \OC\Files\Storage\Wrapper\Encoding(['storage' => $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 $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 OC_User::isAdminUser($user);
                              Severity: Major
                              Found in lib/private/legacy/api.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return '0';
                                Severity: Major
                                Found in lib/private/DB/MigrationService.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 $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 Http::STATUS_FORBIDDEN;
                                      Severity: Major
                                      Found in lib/private/legacy/api.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return $this->quoteIndex($index);
                                        Severity: Major
                                        Found in lib/private/DB/OracleMigrator.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language