owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

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

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

                                  public function copyFromStorage(Storage $sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime = false, $isRename = false) {
                              Severity: Minor
                              Found in lib/private/Files/Storage/Wrapper/Encryption.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/private/Files/Cache/Scanner.php - About 35 mins to fix

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

                                      protected function scanChildren($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1, $folderId = null, $lock = true) {
                                  Severity: Minor
                                  Found in lib/private/Files/Cache/Scanner.php - About 35 mins to fix

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

                                        protected function scanChildren($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1, $folderData = null, $lock = true) {
                                    Severity: Minor
                                    Found in lib/private/Files/ObjectStore/NoopScanner.php - About 35 mins to fix

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

                                          private function copyBetweenStorage(Storage $sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime, $isRename) {
                                      Severity: Minor
                                      Found in lib/private/Files/Storage/Wrapper/Encryption.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/private/Files/ObjectStore/NoopScanner.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language