owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

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

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

                                  protected function format($timestamp, $type, $format, \DateTimeZone $timeZone = null, \OCP\IL10N $l = null) {
                              Severity: Minor
                              Found in lib/private/DateTimeFormatter.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/private/User/Manager.php - About 35 mins to fix

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

                                          $objectType,
                                          $objectId,
                                          $limit = 0,
                                          $offset = 0,
                                          \DateTime $notOlderThan = null
                                  Severity: Minor
                                  Found in lib/private/Comments/Manager.php - About 35 mins to fix

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

                                            IConfig $config,
                                            IRequest $request,
                                            IThemeService $themeService,
                                            IUserSession $userSession = null,
                                            $serverRoot
                                    Severity: Minor
                                    Found in lib/private/L10N/Factory.php - About 35 mins to fix

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

                                          private function checkIfAccountReappeared(Account $a, array &$removed, array &$reappeared, UserInterface $backend, $backendClass) {
                                      Severity: Minor
                                      Found in lib/private/User/SyncService.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/private/AllConfig.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language