owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

Avoid too many return statements within this method.
Open

            return '';
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->restoreShares($output);
    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 \round($diff / 604800) . " weeks 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 \round($diff / 29030400) . " years 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 false;
          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 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 $c->getServer()->query('OCP\Files\External\Service\IUserStoragesService');
              Severity: Major
              Found in apps/files_external/lib/AppInfo/Application.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return new DataResponse(
                            $storage,
                            Http::STATUS_OK
                        );
                Severity: Major
                Found in apps/files_external/lib/Controller/UserStoragesController.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

                    Avoid too many return statements within this method.
                    Open

                            return new DataResponse(
                                $newStorage,
                                Http::STATUS_CREATED
                            );
                    Severity: Major
                    Found in apps/files_external/lib/Controller/UserStoragesController.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return parent::getMimeType($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 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 false;
                          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 (string) $l->t('%2$s renamed %3$s to %1$s', $params);
                            Severity: Major
                            Found in apps/files/lib/Activity.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                  return [
                                                      0 => 'file',
                                                      1 => 'username',
                                                  ];
                              Severity: Major
                              Found in apps/files/lib/Activity.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

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

                                  Avoid too many return statements within this method.
                                  Open

                                                  return 'unknown';
                                  Severity: Major
                                  Found in lib/public/Files/StorageNotAvailableException.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

                                                          return [
                                                              0 => 'file',
                                                              1 => 'username',
                                                          ];
                                      Severity: Major
                                      Found in apps/files/lib/Activity.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return [
                                                                0 => 'file',
                                                            ];
                                        Severity: Major
                                        Found in apps/files/lib/Activity.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language