owncloud/core

View on GitHub

Showing 3,230 of 4,482 total issues

Avoid too many return statements within this method.
Open

            return \OC_User::getUser();
Severity: Major
Found in lib/private/legacy/api.php - About 30 mins to fix

    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 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 new \OC\Files\Storage\Wrapper\Checksum(['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 (string) $l->n('%n month ago', '%n months ago', $dateInterval->m);
            Severity: Major
            Found in lib/private/DateTimeFormatter.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

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

                    Avoid too many return statements within this method.
                    Open

                            return false;
                    Severity: Major
                    Found in lib/private/Security/SignedUrl/Verifier.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return false;
                      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->quoteForeignKeyConstraint($fkc);
                          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\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 new \OC\Files\Storage\Wrapper\Quota([
                                                          'mountPoint' => $mountPoint,
                                                          'storage' => $storage,
                                                          'quota' => $quota,
                                                          'root' => 'files'
                              Severity: Major
                              Found in lib/private/legacy/util.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

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

                                  Avoid too many return statements within this method.
                                  Open

                                                  return false;
                                  Severity: Major
                                  Found in lib/private/legacy/api.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 false;
                                      Severity: Major
                                      Found in lib/private/Security/SignedUrl/Verifier.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

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