owncloud/core

View on GitHub

Showing 3,235 of 4,504 total issues

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

              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/ApiController.php - About 35 mins to fix

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

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

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

                      public function __construct($template, $requestToken, $l10n, $theme, $themeDefaults) {
                  Severity: Minor
                  Found in lib/private/Template/Base.php - About 35 mins to fix

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

                        public function setUserValue($userId, $appName, $key, $value, $preCondition = null);
                    Severity: Minor
                    Found in lib/public/IConfig.php - About 35 mins to fix

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

                          public function formatDateTimeRelativeDay($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

                        Method getItemsSharedWith 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 getUsersItemShared has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public static function getUsersItemShared($itemType, $itemSource, $uidOwner, $includeCollections = false, $checkExpireDate = true) {
                          Severity: Minor
                          Found in lib/public/Share.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/Contacts/IManager.php - About 35 mins to fix

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

                                  public function search($search, $limit = null, $offset = null, $scope = null, $alwaysReturnAllMatches = false) {
                              Severity: Minor
                              Found in lib/private/Group/Manager.php - About 35 mins to fix

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

                                        $globalPrefix,
                                        ILogger $logger,
                                        $localCacheClass = null,
                                        $distributedCacheClass = null,
                                        $lockingCacheClass = null
                                Severity: Minor
                                Found in lib/private/Memcache/Factory.php - About 35 mins to fix

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

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

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

                                            MetaVersionCollection $parent,
                                            IRootFolder $root,
                                            array $version,
                                            IStorage $storage,
                                            $internalPath
                                    Severity: Minor
                                    Found in lib/private/Files/Meta/MetaFileVersionNode.php - About 35 mins to fix

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

                                          public function __construct($id, $name, $userVisible, $userAssignable, $userEditable = false) {
                                      Severity: Minor
                                      Found in lib/private/SystemTag/SystemTag.php - About 35 mins to fix

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

                                            protected static function wrapSource($source, $context = [], $protocol = null, $class = null, $mode = 'r+') {
                                        Severity: Minor
                                        Found in lib/private/Files/Stream/Encryption.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language