owncloud/core

View on GitHub

Showing 3,235 of 4,504 total issues

Method create has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $mountPoint,
        $backend,
        $authMechanism,
        $backendOptions,
        $mountOptions
Severity: Minor
Found in apps/files_external/lib/Controller/UserStoragesController.php - About 35 mins to fix

    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            IGlobalStoragesService $globalService,
            IUserStoragesService $userService,
            IUserManager $userManager,
            IUserSession $userSession,
            IStoragesBackendService $backendService
    Severity: Minor
    Found in apps/files_external/lib/Command/Create.php - About 35 mins to fix

      Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              $AppName,
              IRequest $request,
              IL10N $l10n,
              IStoragesService $storagesService,
              ILogger $logger
      Severity: Minor
      Found in apps/files_external/lib/Controller/StoragesController.php - About 35 mins to fix

        Method renameOrCopy has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public function renameOrCopy(string $op, string $src, string $srcOwnerUid, string $dst, string $dstOwnerUid) {
        Severity: Minor
        Found in apps/files_versions/lib/MetaStorage.php - About 35 mins to fix

          Method search has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                  public function search($pattern, $searchProperties, $options, $limit = null, $offset = null);
          Severity: Minor
          Found in lib/public/IAddressBook.php - About 35 mins to fix

            Method getForObject has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                    $objectType,
                    $objectId,
                    $limit = 0,
                    $offset = 0,
                    \DateTime $notOlderThan = null
            Severity: Minor
            Found in lib/public/Comments/ICommentsManager.php - About 35 mins to fix

              Method getItemSharedWith has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                      $itemType,
                      $itemTarget,
                      $format = self::FORMAT_NONE,
                      $parameters = null,
                      $includeCollections = false
              Severity: Minor
              Found in lib/public/Share.php - About 35 mins to fix

                Method getItemSharedWithBySource has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                        $itemType,
                        $itemSource,
                        $format = self::FORMAT_NONE,
                        $parameters = null,
                        $includeCollections = false
                Severity: Minor
                Found in lib/public/Share.php - About 35 mins to fix

                  Method scanFile has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public function scanFile($file, $reuseExisting = 0, $parentId = -1, $cacheData = null, $lock = true);
                  Severity: Minor
                  Found in lib/public/Files/Cache/IScanner.php - About 35 mins to fix

                    Method transferShare has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        public function transferShare(IShare $share, $oldOwner, $newOwner, $finalTarget, $isChild = null);
                    Severity: Minor
                    Found in lib/public/Share/IManager.php - About 35 mins to fix

                      Method unshare has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public static function unshare($itemType, $itemSource, $shareType, $shareWith, $owner = null) {
                      Severity: Minor
                      Found in lib/public/Share.php - About 35 mins to fix

                        Method getThumbnail has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public function getThumbnail($path, $maxX, $maxY, $scalingup, $fileview);
                        Severity: Minor
                        Found in lib/public/Preview/IProvider.php - About 35 mins to fix

                          Method mb_substr_replace has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public static function mb_substr_replace($string, $replacement, $start, $length = null, $encoding = 'UTF-8') {
                          Severity: Minor
                          Found in lib/public/Util.php - About 35 mins to fix

                            Method writeExtra has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public static function writeExtra($app, $message, $level, $conditionalLogFile, $extraFields = []) {
                            Severity: Minor
                            Found in lib/private/Log/Owncloud.php - About 35 mins to fix

                              Method updateTag has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  public function updateTag($tagId, $newName, $userVisible, $userAssignable, $userEditable = null);
                              Severity: Minor
                              Found in lib/public/SystemTag/ISystemTagManager.php - About 35 mins to fix

                                Method getSharedWith has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    public function getSharedWith($userId, $shareType, $node, $limit, $offset);
                                Severity: Minor
                                Found in lib/public/Share/IShareProvider.php - About 35 mins to fix

                                  Method getItemShared has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                          $itemType,
                                          $itemSource,
                                          $format = self::FORMAT_NONE,
                                          $parameters = null,
                                          $includeCollections = false
                                  Severity: Minor
                                  Found in lib/public/Share.php - About 35 mins to fix

                                    Method setPermissions has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        public static function setPermissions($itemType, $itemSource, $shareType, $shareWith, $permissions) {
                                    Severity: Minor
                                    Found in lib/public/Share.php - About 35 mins to fix

                                      Method buildDebugMessage has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          private function buildDebugMessage($msg, $sql, array $params=[], $limit=null, $offset=null) {
                                      Severity: Minor
                                      Found in lib/public/AppFramework/Db/Mapper.php - About 35 mins to fix

                                        Method getSharedWith has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            public function getSharedWith($userId, $shareType, $node = null, $limit = 50, $offset = 0);
                                        Severity: Minor
                                        Found in lib/public/Share/IManager.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language