YetiForceCompany/YetiForceCRM

View on GitHub

Showing 4,652 of 306,333 total issues

Avoid too many return statements within this method.
Open

            return 'PLL_NOT_RENEWED_VERIFICATION';
Severity: Major
Found in modules/Assets/models/Record.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return \call_user_func_array("{$classFunction['class']}::{$classFunction['method']}", [$this, 'PLL_WAITING_FOR_RENEWAL', $renewalTime]);
    Severity: Major
    Found in modules/Assets/models/Record.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return $this->getListViewDisplayValue($rawValue, $record, $recordModel, $rawText);
      Severity: Major
      Found in modules/Vtiger/uitypes/MultiImage.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return $result;
        Severity: Major
        Found in modules/Vtiger/uitypes/MultiImage.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return trim($result, "\n\t ") . '</div>';
          Severity: Major
          Found in modules/Vtiger/uitypes/MultiImage.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $result . '</div>';
            Severity: Major
            Found in modules/Vtiger/uitypes/MultiImage.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return 'record_number';
              Severity: Major
              Found in modules/Vtiger/models/ChartFilter.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return \App\Record::getHtmlLink($value, $referenceModuleName, \is_int($length) ? $length : \App\Config::main('href_max_length'), !empty($this->fullUrl));
                Severity: Major
                Found in modules/Vtiger/uitypes/Reference.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return '<span class="c-menu__item__icon yfm-' . $menu['mod'] . '" aria-hidden="true"></span>';
                  Severity: Major
                  Found in modules/Vtiger/models/Menu.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return '';
                    Severity: Major
                    Found in modules/Vtiger/models/Menu.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return true;
                      Severity: Major
                      Found in modules/Vtiger/models/PDF.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return false;
                        Severity: Major
                        Found in modules/Vtiger/models/PDF.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return $prefix . self::pluralize($months, 'LBL_MONTH') . $suffix;
                          Severity: Major
                          Found in modules/Vtiger/helpers/Util.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return "<span class=\"yfm-{$referenceModuleName} mr-1\"></span>" . \App\Record::getHtmlLink($value, $referenceModuleName, \App\Config::main('href_max_length'));
                            Severity: Major
                            Found in modules/Vtiger/inventoryfields/Name.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return \App\Record::getHtmlLink($value, $referenceModuleName, \App\Config::main('href_max_length'));
                              Severity: Major
                              Found in modules/Vtiger/inventoryfields/Reference.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return;
                                Severity: Major
                                Found in modules/Vtiger/crons/Magento.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return $prefix . self::pluralize($days, 'LBL_DAY') . $suffix;
                                  Severity: Major
                                  Found in modules/Vtiger/helpers/Util.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return $prefix . $result . $suffix;
                                    Severity: Major
                                    Found in modules/Vtiger/helpers/Util.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return $view . 'Base' . '.tpl';
                                      Severity: Major
                                      Found in modules/Vtiger/inventoryfields/Basic.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return false;
                                        Severity: Major
                                        Found in modules/Import/helpers/Utils.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language