e107inc/e107

View on GitHub

Showing 571 of 6,975 total issues

Avoid too many return statements within this method.
Open

        return rtrim($url, '/');
Severity: Major
Found in e107_handlers/application.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                        return $value[$index];
    Severity: Major
    Found in e107_handlers/model_class.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                    return $ret;
      Severity: Major
      Found in e107_handlers/user_extended_class.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            return "<textarea id='{$fid}' {$include} name='{$fname}'  {$required} {$title}>{$curval}</textarea>";
        Severity: Major
        Found in e107_handlers/user_extended_class.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                    return $ret;
            Severity: Major
            Found in e107_handlers/form_handler.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return null;
              Severity: Major
              Found in e107_handlers/e_db_pdo_class.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                if($fieldValue == '') { return "''"; }
                Severity: Major
                Found in e107_handlers/e_db_pdo_class.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                      return "<span class='label label-important label-danger' title='".$className. '::' .$meth."'>Missing Method</span>";
                  Severity: Major
                  Found in e107_handlers/form_handler.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return "<img class='img-responsive img-fluid' src='" . $thumbSrc . "' alt='" . LAN_YOUTUBE_PLAYLIST . "' style='width:" . vartrue($parm['w'], '80') . "px'/>";
                    Severity: Major
                    Found in e107_handlers/e_parse_class.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                          return $thumb;
                      Severity: Major
                      Found in e107_handlers/e_parse_class.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                            return $this;
                        Severity: Major
                        Found in e107_handlers/admin_ui.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return $this;
                          Severity: Major
                          Found in e107_handlers/user_model.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return '
                                        <div class="video-responsive">
                                        <video width="' . $width . '" height="' . $height . '" controls>
                                          <source src="' . $file . '" type="' . $mime . '">
                                    
                            Severity: Major
                            Found in e107_handlers/e_parse_class.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return $this->invalidLogin($username, LOGIN_MULTIPLE, $user_id);
                              Severity: Major
                              Found in e107_handlers/login.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return null;
                                Severity: Major
                                Found in e107_handlers/application.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                      return e107::getForm()->datepicker($fname,$curval,$opts);
                                  Severity: Major
                                  Found in e107_handlers/user_extended_class.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return $tp->toImage($value, $thparms);
                                    Severity: Major
                                    Found in e107_handlers/form_handler.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                              return "Type 'files' must have a data type of 'array' or 'json'";
                                      Severity: Major
                                      Found in e107_handlers/form_handler.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return $this->rowCount();
                                        Severity: Major
                                        Found in e107_handlers/e_db_pdo_class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language