owncloud/core

View on GitHub

Showing 3,235 of 4,503 total issues

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 $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 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 \OC::$server->getURLGenerator()
                            ->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileId' => $node->getInternalFileId()]);
        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 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 $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 GetLastModified($node->getShare()->getShareTime());
                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/Sabre/FilesPlugin.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return $this->tagManager->canUserAssignTag($node->getSystemTag(), $this->userSession->getUser()) ? '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 [];
                      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 '';
                        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 $this->config->getSystemValue('data-fingerprint', '');
                          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 ChecksumList($checksum);
                            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 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 $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  $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 [];
                                    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 $davLocks;
                                      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 $displayName;
                                        Severity: Major
                                        Found in apps/dav/lib/Connector/Sabre/FilesPlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language