owncloud/core

View on GitHub

Showing 3,235 of 4,504 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

                    return false;
    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 new JSONResponse(
                      [
                          'message' => "internal server error, was not able to process notification"
                      ],
                      Http::STATUS_INTERNAL_SERVER_ERROR
      Severity: Major
      Found in apps/federatedfilesharing/lib/Controller/OcmController.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return new RequestHandlerController(
                            $c->query('AppName'),
                            $c->query('Request'),
                            $c->query('OcmMiddleware'),
                            $server->getUserManager(),
        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, 103, "Invalid quota value {$parameters['_put']['value']}");
          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 JSONResponse(
                        [],
                        Http::STATUS_CREATED
                    );
            Severity: Major
            Found in apps/federatedfilesharing/lib/Controller/OcmController.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return new Result(null, 997);
              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);
                  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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language