e107inc/e107

View on GitHub

Showing 571 of 6,975 total issues

Avoid too many return statements within this method.
Open

                        return $tp->toGlyph('fa-file','size=2x');
Severity: Major
Found in e107_handlers/form_handler.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return e107::getParser()->toNumber($fieldValue);
    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 "'".$this->escape($fieldValue, false)."'";
      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 e107::getParser()->toDB($fieldValue);
        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 $this->full_perms;
          Severity: Major
          Found in e107_handlers/user_handler.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                return "<span class='label label-danger'>Failed to load</span>";
            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 $this->renderInline($field, $id, $attributes['title'], $value, $dispValue, 'select', $wparms, array('class'=>'e-editable-boolean '.$styleClass));
              Severity: Major
              Found in e107_handlers/form_handler.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return array();
                Severity: Major
                Found in e107_handlers/core_functions.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return false;
                  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 false;
                    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 false;
                      Severity: Major
                      Found in e107_handlers/login.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return PASSWORD_INVALID;
                        Severity: Major
                        Found in e107_handlers/user_handler.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 $img_data['media_url'];    
                            Severity: Major
                            Found in e107_handlers/media_class.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

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

                                Avoid too many return statements within this method.
                                Open

                                                return e107::getMedia()->previewTag($firstItem, $parms);
                                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;
                                  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="' . $defClass . ' ' . vartrue($parm['class']) . '">' . $video . '</div>';
                                    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 $base.$route.$urlSuffix.'?'.$params.$anc;
                                      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()->text($fname,$curval,10,$opts);
                                        Severity: Major
                                        Found in e107_handlers/user_extended_class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language