YetiForceCompany/YetiForceCRM

View on GitHub

Showing 4,652 of 306,333 total issues

Avoid too many return statements within this method.
Open

                return $this->recordModel->getName();
Severity: Major
Found in app/TextParser.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return '';
    Severity: Major
    Found in app/TextParser.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return $key;
      Severity: Major
      Found in app/TextParser.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return Config::main('PORTAL_URL');
        Severity: Major
        Found in app/TextParser.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return ($userModel && $userModel->getDetail('time_zone')) ? $userModel->getDetail('time_zone') : Config::main('default_timezone');
          Severity: Major
          Found in app/TextParser.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $instance->relatedRecord($relatedRecord);
            Severity: Major
            Found in app/TextParser.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return $fieldModel->getUITypeModel()->getTextParserDisplayValue($value, $model, $params);
              Severity: Major
              Found in app/TextParser.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return $this->record;
                Severity: Major
                Found in app/TextParser.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                      return $value;
                  Severity: Major
                  Found in app/TextParser.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return $value;
                    Severity: Major
                    Found in app/TextParser.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                          return $this->getComments($params);
                      Severity: Major
                      Found in app/TextParser.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return $this->moduleName;
                        Severity: Major
                        Found in app/TextParser.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return (new Db\Query())
                                              ->select(['CG.*', 'CR.userid', 'record_id' => 'CR.roomid', 'CR.last_message'])
                                              ->from(['CG' => 'u_#__chat_user'])
                                              ->leftJoin(['CR' => 'u_#__chat_rooms_user'], "CR.roomid = CG.roomid AND CR.userid = {$this->userId}")
                                              ->where(['CG.roomid' => $this->recordId]);
                          Severity: Major
                          Found in app/Chat.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return $minutes + $interval->format('%i');
                            Severity: Major
                            Found in app/Fields/DateTime.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $interval->format($format);
                              Severity: Major
                              Found in app/Fields/DateTime.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return static::loadFromContent($contents, static::sanitizeFileNameFromUrl($url), $param);
                                Severity: Major
                                Found in app/Fields/File.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return false;
                                  Severity: Major
                                  Found in app/Fields/File.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return $seconds + $interval->format('%s');
                                    Severity: Major
                                    Found in app/Fields/DateTime.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return false;
                                      Severity: Major
                                      Found in app/Privilege.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return true;
                                        Severity: Major
                                        Found in app/Privilege.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language