owncloud/core

View on GitHub

Showing 3,235 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/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

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

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

                    public function __construct(IAppManager $appManager, EventDispatcherInterface $eventDispatcher, IConfig $config, \OC_Defaults $defaults, $forceMajorUpgrade = false) {
                Severity: Minor
                Found in lib/private/Repair/Apps.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/private/Share/Share.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/private/Share/Share.php - About 35 mins to fix

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

                          private function crop($image, $askedWidth, $askedHeight, $previewWidth, $previewHeight = null) {
                      Severity: Minor
                      Found in lib/private/Preview.php - About 35 mins to fix

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

                            private function scale($image, $askedWidth, $askedHeight, $previewWidth, $previewHeight) {
                        Severity: Minor
                        Found in lib/private/Preview.php - About 35 mins to fix

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

                              private function cropAndFill($image, $askedWidth, $askedHeight, $previewWidth, $previewHeight) {
                          Severity: Minor
                          Found in lib/private/Preview.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/private/Share20/DefaultShareProvider.php - About 35 mins to fix

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

                                      array $vars= [],
                                      ISecureRandom $secureRandom = null,
                                      IConfig $config = null,
                                      CsrfTokenManager $csrfTokenManager = null,
                                      $stream = 'php://input'
                              Severity: Minor
                              Found in lib/private/AppFramework/Http/Request.php - About 35 mins to fix

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

                                    public function __construct($app, $name, $renderAs = "", $registerCall = true, $languageCode = null) {
                                Severity: Minor
                                Found in lib/private/legacy/template.php - About 35 mins to fix

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

                                      public function __construct(DefaultTokenMapper $mapper, ICrypto $crypto, IConfig $config, ILogger $logger, ITimeFactory $time) {
                                  Severity: Minor
                                  Found in lib/private/Authentication/Token/DefaultTokenProvider.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/private/DateTimeFormatter.php - About 35 mins to fix

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

                                              $appName,
                                              IDBConnection $connection,
                                              IOutput $output = null,
                                              AppLocator $appLocator = null,
                                              ILogger $logger = null
                                      Severity: Minor
                                      Found in lib/private/DB/MigrationService.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/private/DateTimeFormatter.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language