owncloud/core

View on GitHub

Showing 3,235 of 4,504 total issues

Avoid too many return statements within this method.
Open

            return $node->getSystemTag()->isUserEditable() ? '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 \implode('|', $groups);
    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 $node->getShare()->getShareOwner();
      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 $owner->getUID();
        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 $node->getSize();
          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, 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, 403, $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 [];
                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 new Result(null, 102);
                  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 this group as you are a SubAdmin');
                    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 OC_OCS_Result(null, \OCP\API::RESPOND_UNAUTHORISED, 'User does not have access to specified group');
                        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 new OC_OCS_Result(null, 100);
                          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 $node->getETag();
                            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 null;
                              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 true;
                                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 $node->getVersionTag();
                                  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 $directDownloadUrl['url'];
                                    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 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 $this->tagManager->canUserUseStaticTagInGroup($node->getSystemTag(), $this->userSession->getUser()) ? 'true' : 'false';
                                        Severity: Major
                                        Found in apps/dav/lib/SystemTag/SystemTagPlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language