owncloud/core

View on GitHub

Showing 3,235 of 4,504 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

                    return (string) $l->t('%2$s shared %1$s with %3$s', $params);
    Severity: Major
    Found in apps/files_sharing/lib/Activity.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return (string) $l->t('Your public link for %1$s expired', $params);
      Severity: Major
      Found in apps/files_sharing/lib/Activity.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            return (string) $l->t('You updated system tag %3$s to %2$s', $params);
        Severity: Major
        Found in apps/systemtags/lib/Activity/Extension.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return (string) $l->t('%2$s removed the share of group %3$s for %1$s', $params);
          Severity: Major
          Found in apps/files_sharing/lib/Activity.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                return [
                                    0 => 'file',
                                    1 => '',// 'email' is neither supported nor planned for now
                                ];
            Severity: Major
            Found in apps/files_sharing/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_sharing/lib/Activity.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return (string) $l->t('Public shared folder %1$s was downloaded', $params);
                Severity: Major
                Found in apps/files_sharing/lib/Activity.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return (string) $l->t('You removed the share of %2$s for %1$s', $params);
                  Severity: Major
                  Found in apps/files_sharing/lib/Activity.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return (string) $l->t('%2$s shared %1$s with you', $params);
                    Severity: Major
                    Found in apps/files_sharing/lib/Activity.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                        return (string) $l->t('You shared %1$s with %2$s', $params);
                        Severity: Major
                        Found in apps/files_sharing/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_sharing/lib/Activity.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                                  return (string) $l->t('System tag %3$s was assigned to %2$s due to automation rule', $params);
                              Severity: Major
                              Found in apps/systemtags/lib/Activity/Extension.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return (string) $l->t('%2$s removed the public link for %1$s', $params);
                                Severity: Major
                                Found in apps/files_sharing/lib/Activity.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return (string) $l->t('%1$s unassigned system tag %3$s', $params);
                                  Severity: Major
                                  Found in apps/systemtags/lib/Activity/Extension.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return new OcmMiddleware(
                                                        $this->getFederatedShareProvider(),
                                                        $server->getAppManager(),
                                                        $server->getUserManager(),
                                                        $c->query('AddressHandler'),
                                    Severity: Major
                                    Found in apps/federatedfilesharing/lib/AppInfo/Application.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return new NotificationManager();
                                      Severity: Major
                                      Found in apps/federatedfilesharing/lib/AppInfo/Application.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return new Result(null, 101);
                                        Severity: Major
                                        Found in apps/provisioning_api/lib/Users.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language