owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

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

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

                                  public static function getUsersSharingFile($path, $ownerUser, $includeOwner = false, $returnUserPaths = false, $recursive = true) {
                              Severity: Minor
                              Found in lib/public/Share.php - About 35 mins to fix

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

                                        $appName,
                                        IRequest $request,
                                        $corsMethods='PUT, POST, GET, DELETE, PATCH',
                                        $corsAllowedHeaders='Authorization, Content-Type, Accept',
                                        $corsMaxAge=1728000
                                Severity: Minor
                                Found in lib/public/AppFramework/OCSController.php - About 35 mins to fix

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

                                      public static function mb_str_replace($search, $replace, $subject, $encoding = 'UTF-8', &$count = null) {
                                  Severity: Minor
                                  Found in lib/public/Util.php - About 35 mins to fix

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

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

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

                                          public function callForUsers(\Closure $callback, $search = '', $onlySeen = false, $limit = null, $offset = null);
                                      Severity: Minor
                                      Found in lib/public/IUserManager.php - About 35 mins to fix

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

                                            public function formatDateTime($timestamp, $formatDate = 'long', $formatTime = 'medium', \DateTimeZone $timeZone = null, \OCP\IL10N $l = null);
                                        Severity: Minor
                                        Found in lib/public/IDateTimeFormatter.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language