owncloud/core

View on GitHub

Showing 3,235 of 4,504 total issues

Avoid too many return statements within this method.
Open

                return $node->getVersionEditedBy();
Severity: Major
Found in apps/dav/lib/Meta/MetaPlugin.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return $user !== null ? $user->getDisplayName() : '';
    Severity: Major
    Found in apps/dav/lib/Meta/MetaPlugin.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/FilesPlugin.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return new Result(null, 106, 'no group specified (required for subadmins)');
        Severity: Major
        Found in apps/provisioning_api/lib/Users.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                        return new Result(null, 103, 'Unknown error occurred');
            Severity: Major
            Found in apps/provisioning_api/lib/Users.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                  return new Subscription($this->caldavBackend, $subscription);
              Severity: Major
              Found in apps/dav/lib/CalDAV/CalendarHome.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return $node->getDavPermissions();
                Severity: Major
                Found in apps/dav/lib/Files/PublicFiles/PublicFilesPlugin.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                      return [];
                  Severity: Major
                  Found in apps/dav/lib/Files/FileLocksBackend.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

                                      return  $owner->getDisplayName();
                      Severity: Major
                      Found in apps/dav/lib/Files/PublicFiles/PublicFilesPlugin.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/PublicAuth.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

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

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

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

                                Avoid too many return statements within this method.
                                Open

                                                return new PollIncomingShares(
                                                    $server->getDatabaseConnection(),
                                                    $server->getUserManager(),
                                                    \OC\Files\Filesystem::getLoader(),
                                                    $externalManager,
                                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, $e->getMessage());
                                  Severity: Major
                                  Found in apps/provisioning_api/lib/Users.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return new Result(null, 105, 'Cannot remove yourself from the admin group');
                                    Severity: Major
                                    Found in apps/provisioning_api/lib/Users.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return null;
                                      Severity: Major
                                      Found in apps/dav/lib/CalDAV/BirthdayService.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return null;
                                        Severity: Major
                                        Found in apps/dav/lib/CalDAV/BirthdayService.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language