owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

Avoid too many return statements within this method.
Open

        return 0;
Severity: Major
Found in apps/files_external/lib/Command/Import.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return null;
    Severity: Major
    Found in apps/files_external/lib/Controller/StoragesController.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return new GetLastModified($node->getDeleteTimestamp());
      Severity: Major
      Found in apps/dav/lib/TrashBin/TrashBinPlugin.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            return 1;
        Severity: Major
        Found in apps/files_external/lib/Command/Import.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return $this->getUnreadCount($node);
          Severity: Major
          Found in apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return new DataResponse(
                            [
                                'message' => (string)$this->l10n->t('Unsatisfied authentication mechanism parameters')
                            ],
                            Http::STATUS_UNPROCESSABLE_ENTITY
            Severity: Major
            Found in apps/files_external/lib/Controller/StoragesController.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return 1;
              Severity: Major
              Found in apps/files_external/lib/Command/Create.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return 1;
                Severity: Major
                Found in apps/files_external/lib/Command/Create.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return false;
                  Severity: Major
                  Found in apps/dav/lib/Connector/Sabre/AutorenamePlugin.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return 1;
                    Severity: Major
                    Found in apps/files_external/lib/Command/Import.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return new DataResponse(
                                      [
                                          'message' => (string)$this->l10n->t('Not permitted to use authentication mechanism "%s"', [
                                              $authMechanism->getIdentifier()
                                          ])
                      Severity: Major
                      Found in apps/files_external/lib/Controller/StoragesController.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return 0;
                        Severity: Major
                        Found in apps/files_external/lib/Command/Create.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return 0;
                          Severity: Major
                          Found in apps/files_external/lib/Command/Applicable.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return \round($diff / 2419200) . " months ago";
                            Severity: Major
                            Found in apps/files_versions/lib/Storage.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return 'application/pdf';
                              Severity: Major
                              Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return $this->driveFiles[$path];
                                Severity: Major
                                Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return;
                                  Severity: Major
                                  Found in apps/files/lib/Command/VerifyChecksums.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return 1;
                                    Severity: Major
                                    Found in apps/files/lib/Command/TransferOwnership.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return 0;
                                      Severity: Major
                                      Found in apps/files/lib/Command/CheckCache.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                                    return false;
                                        Severity: Major
                                        Found in apps/files_external/lib/Lib/Storage/Google.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language