owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

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

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

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

                                      private static function formatResult($items, $column, $backend, $format = self::FORMAT_NONE, $parameters = null) {
                                  Severity: Minor
                                  Found in lib/private/Share/Share.php - About 35 mins to fix

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

                                        private function fixEntryPath(IOutput $out, $fileId, $wrongPath, $correctStorageNumericId, $correctPath) {
                                    Severity: Minor
                                    Found in lib/private/Repair/RepairMismatchFileCachePath.php - About 35 mins to fix

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

                                          public static function getItemSharedWithUser($itemType, $itemSource, $user, $owner = null, $shareType = null) {
                                      Severity: Minor
                                      Found in lib/private/Share/Share.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/private/Share/Share.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language