e107inc/e107

View on GitHub

Showing 571 of 6,975 total issues

Avoid too many return statements within this method.
Open

        return($parms['return_type'] == 'result' ? $uploaded : '');
Severity: Major
Found in e107_core/shortcodes/single/uploadfile.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    if ($result === false) return false;
    Severity: Major
    Found in e107_plugins/import/providers/template_import_class.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return true;
      Severity: Major
      Found in e107_plugins/forum/forum_update.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                if ($connect_only) return AUTH_SUCCESS;
        Severity: Major
        Found in e107_plugins/alt_auth/radius_auth.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return '';
          Severity: Major
          Found in e107_core/shortcodes/single/custom.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $val;
            Severity: Major
            Found in e107_core/sql/extended_timezones.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return $this->renderError();    
              Severity: Major
              Found in e107_plugins/download/handlers/download_class.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return 6;
                Severity: Major
                Found in e107_plugins/import/import_user_class.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return varset($rankInfo[$parm], '');
                  Severity: Major
                  Found in e107_plugins/forum/shortcodes/batch/view_shortcodes.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return e107::getRender()->tablerender(LAN_PLUGIN_FEATUREBOX_NAME, $ret, vartrue($parm['tablestyle'], 'featurebox'), true);
                    Severity: Major
                    Found in e107_plugins/featurebox/e_shortcode.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return ($boot) ? $tp->toGlyph('fa-map-marker') : '';
                      Severity: Major
                      Found in e107_core/shortcodes/batch/user_shortcodes.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        if ($result === false) return false;
                        Severity: Major
                        Found in e107_plugins/import/providers/template_import_class.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          if ($result === false) return false;
                          Severity: Major
                          Found in e107_plugins/import/providers/PHPNuke_import_class.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return $this->copyLinksData($initial, $result);
                            Severity: Major
                            Found in e107_plugins/import/import_classes.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return $this->copyForumPostData($initial, $result);
                              Severity: Major
                              Found in e107_plugins/import/import_classes.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                    return "<div class='spacer'>" . IMAGE_rank_moderator_image . '</div>';
                                Severity: Major
                                Found in e107_plugins/forum/shortcodes/batch/view_shortcodes.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                      return AUTH_NOUSER; // Bit debateable what to return if this happens
                                  Severity: Major
                                  Found in e107_plugins/alt_auth/ldap_auth.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return ucwords($word);                        // TODO: Needs changing to utf-8 function
                                    Severity: Major
                                    Found in e107_plugins/alt_auth/alt_auth_login_class.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                                  return LAN_PM_21;
                                      Severity: Major
                                      Found in e107_plugins/pm/pm.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return FALSE;
                                        Severity: Major
                                        Found in e107_plugins/import/providers/phpbb3_import_class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language