YetiForceCompany/YetiForceCRM

View on GitHub

Showing 4,652 of 306,333 total issues

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

    private function addAdvConditions(\App\QueryGenerator $queryGenerator, int $relationId, string $operator, ?array $condition, ?int $userId)
Severity: Minor
Found in app/TextParser/UserRecordsList.php - About 35 mins to fix

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

        private static function decodeRow(string $baseText, string $type, int $id, string $label, string $format = self::FORMAT_HTML): string
    Severity: Minor
    Found in app/Utils/Completions.php - About 35 mins to fix

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

          public static function verifyDatabaseAccess(string $server, string $database, string $user, string $password, int $port): array
      Severity: Minor
      Found in app/Integrations/Wapro.php - About 35 mins to fix

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

            public static function isPermittedBySharing($moduleName, $tabId, $actionId, $recordId, $userId)
        Severity: Minor
        Found in app/Privilege.php - About 35 mins to fix

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

              public static function isReadPermittedBySharing($moduleName, $tabId, $actionId, $recordId, $userId)
          Severity: Minor
          Found in app/Privilege.php - About 35 mins to fix

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

                public static function isReadWritePermittedBySharing($moduleName, $tabId, $actionId, $recordId, $userId)
            Severity: Minor
            Found in app/Privilege.php - About 35 mins to fix

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

                  public static function connectToDatabase(string $server, string $database, string $user, string $password, int $port): \App\Db
              Severity: Minor
              Found in app/Integrations/Wapro.php - About 35 mins to fix

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

                    public static function saveToFile(string $pathDirectory, $content, string $comment = '', int $flag = LOCK_EX, bool $return = false): bool
                Severity: Minor
                Found in app/Utils.php - About 35 mins to fix

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

                      public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false)
                  Severity: Minor
                  Found in modules/Users/models/Field.php - About 35 mins to fix

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

                        public function __doRequest($req, $location, $action, $version = SOAP_1_2, $oneWay = null): string
                    Severity: Minor
                    Found in app/RecordCollectors/Helper/GusClient.php - About 35 mins to fix

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

                          public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false)
                      Severity: Minor
                      Found in modules/Settings/Vtiger/uitypes/Icon.php - About 35 mins to fix

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

                            public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false)
                        Severity: Minor
                        Found in modules/Settings/Groups/uitypes/Multipicklist.php - About 35 mins to fix

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

                              public static function mailScan($mbox, array $account, string $folder, int $scan_id, int $countEmails)
                          Severity: Minor
                          Found in modules/OSSMailScanner/models/Record.php - About 35 mins to fix

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

                                public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false)
                            Severity: Minor
                            Found in modules/ModComments/uitypes/Text.php - About 35 mins to fix

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

                                  public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false)
                              Severity: Minor
                              Found in modules/Calendar/uitypes/Datetime.php - About 35 mins to fix

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

                                    public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false)
                                Severity: Minor
                                Found in modules/SMSNotifier/uitypes/Text.php - About 35 mins to fix

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

                                      public function getCalendarActivities($mode, Vtiger_Paging_Model $pagingModel, $user, $recordId = false, $paramsMore = [])
                                  Severity: Minor
                                  Found in modules/Home/models/Module.php - About 35 mins to fix

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

                                        public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false)
                                    Severity: Minor
                                    Found in modules/Calendar/models/Field.php - About 35 mins to fix

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

                                          public static function getEmailSendEntries($userId, $modules, $startDate, $endDate, $isExists = false)
                                      Severity: Minor
                                      Found in modules/Notification/models/Module.php - About 35 mins to fix

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

                                            public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false)
                                        Severity: Minor
                                        Found in modules/Notification/uitypes/String.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language