owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

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 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;
      Severity: Major
      Found in apps/dav/lib/CalDAV/Publishing/PublishPlugin.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return $node->getSystemTag()->isUserAssignable() ? 'true' : 'false';
        Severity: Major
        Found in apps/dav/lib/SystemTag/SystemTagPlugin.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return new OcmController(
                              $c->query('AppName'),
                              $c->query('Request'),
                              $c->query('OcmMiddleware'),
                              $server->getURLGenerator(),
          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, 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, 104);
              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 $vCal;
                  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 $node->getNode()->getId();
                    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 $node->getNode()->getSize();
                      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 $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 $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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language