owncloud/core

View on GitHub

Showing 3,235 of 4,504 total issues

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

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

                      IStoragesBackendService $backendService,
                      DBConfigService $dbConfig,
                      IUserSession $userSession,
                      IUserMountCache $userMountCache,
                      ICrypto $crypto
              Severity: Minor
              Found in lib/private/Files/External/Service/UserStoragesService.php - About 35 mins to fix

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

                    public function __construct(TagMapper $mapper, $user, $type, array $defaultTags = [], $includeShared = false) {
                Severity: Minor
                Found in lib/private/Tags.php - About 35 mins to fix

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

                      public function __construct($trans, $dbDefinitionFile, IConfig $config, ILogger $logger, ISecureRandom $random) {
                  Severity: Minor
                  Found in lib/private/Setup/AbstractDatabase.php - About 35 mins to fix

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

                        public function addMount($mountPoint, $storageBackend, $authBackend, $priority, $type) {
                    Severity: Minor
                    Found in lib/private/Files/External/Service/DBConfigService.php - About 35 mins to fix

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

                              public function search($pattern, $searchProperties = [], $options = [], $limit = 100, $offset = 0) {
                      Severity: Minor
                      Found in lib/private/ContactsManager.php - About 35 mins to fix

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

                            public function __construct($storage, $mountpoint, $arguments = null, $loader = null, $mountOptions = null) {
                        Severity: Minor
                        Found in lib/private/Files/Mount/MountPoint.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/private/Share20/Manager.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/private/Share/Share.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/private/Share/Share.php - About 35 mins to fix

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

                                    private static function sendRemoteShare($token, $shareWith, $name, $remote_id, $owner) {
                                Severity: Minor
                                Found in lib/private/Share/Share.php - About 35 mins to fix

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

                                          IUserSession $userSession,
                                          IDBConnection $connection,
                                          IConfig $config,
                                          $shareId,
                                          $password
                                  Severity: Minor
                                  Found in lib/private/Share/Share.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/private/Share20/Manager.php - About 35 mins to fix

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

                                          public static function delete($parent, $excludeParent = false, $uidOwner = null, $newParent = null, $excludeGroupChildren = false) {
                                      Severity: Minor
                                      Found in lib/private/Share/Helper.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/private/Share/Share.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language