e107inc/e107

View on GitHub

Showing 571 of 6,975 total issues

Avoid too many return statements within this method.
Open

                    return ($value ?: vartrue($parms['empty']));
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/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 $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 $url !== '' ? $url.$suffix : $url;
          Severity: Major
          Found in e107_handlers/application.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                              return (isset($arr[$index]) ? $arr[$index] : $default);
              Severity: Major
              Found in e107_handlers/model_class.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return '{"jsonrpc" : "2.0", "error" : {"code": 102, "message": "Failed to open output stream."}, "id" : "id"}';
                Severity: Major
                Found in e107_handlers/media_class.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                      return array();
                  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->invalidLogin($username, LOGIN_BANNED,$this->userData['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/shortcode_handler.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

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

                          Avoid too many return statements within this method.
                          Open

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

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                                  return "<span class='label label-danger'>Failed to load (misconfigured. See debug for more info.)</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,substr($value,0,50). '...','textarea'); //FIXME.
                                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/admin_ui.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return $this->renderInline($field, $id, $attributes['title'], $_value, $value, 'select', $wparms);    
                                    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/admin_ui.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return $this->{$data_src}[$key];
                                        Severity: Major
                                        Found in e107_handlers/model_class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language