Showing 3,246 of 4,217 total issues

Avoid too many return statements within this method.
Open

        return $default;
Severity: Major
Found in plugins/pubsub/classes/pubsub/yf_pubsub_driver_redis.class.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return $start . 'echo (defined(\'' . $c . '\') ? constant(\'' . $c . '\') : null);' . $end;
    Severity: Major
    Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf_compile.class.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return $start . 'ob_start();' . $end . $m[1] . $start . '$__content_to_clean = ob_get_clean(); echo trim(str_replace(array("\r","\n","\t"),"",stripslashes($__content_to_clean))); ' . $end;
      Severity: Major
      Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf_compile.class.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return $new_string;
        Severity: Major
        Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf.class.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return false;
          Severity: Major
          Found in plugins/auth/classes/auth/yf_auth_user.class.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return $start . $_this->_compile_if_funcs($m) . $end;
            Severity: Major
            Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf_compile.class.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return '';
              Severity: Major
              Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf_compile.class.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return $tpl->_process_var_filters($replace[$m[1]], $m[2]);
                Severity: Major
                Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf.class.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return $func($m, $replace, $name, $_this);
                  Severity: Major
                  Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf.class.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return '';
                    Severity: Major
                    Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf.class.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return false;
                      Severity: Major
                      Found in plugins/auth/classes/auth/yf_auth_user.class.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return '<h4>edit: ' . $replace['stpl_name'] . ' for theme: ' . $replace['theme_name'] . ', inside: ' . $replace['location'] . '</h4>' .
                                    form($replace, [
                                        'data-onsubmit' => '$(this).find("#' . $hidden_id . '").val( $("#' . $div_id . '").data("ace_editor").session.getValue() );',
                                    ])
                                    ->container('<div id="' . $div_id . '" style="width: 90%; height: 500px;">' . $stpl_text . '</div>', '', [
                        Severity: Major
                        Found in plugins/tpl/admin_modules/yf_template_editor.class.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return $start . 'echo $this->call_custom_pattern(\'' . $m['name'] . '\', \'' . str_replace("'", "\\'", $m['args']) . '\', null, $replace, $name);' . $end;
                          Severity: Major
                          Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf_compile.class.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return $start . 'echo module_conf(\'' . $m[1] . '\',\'' . $m[2] . '\');' . $end;
                            Severity: Major
                            Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf_compile.class.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return $start . 'echo _class_safe("graphics")->tip(array("raw"=>\'' . addslashes($m['raw']) . '\', "replace" => $replace, "tpl_name" => $name));' . $end;
                              Severity: Major
                              Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf_compile.class.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return $string;
                                Severity: Major
                                Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf_compile.class.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return module_safe('advertising')->_show(['ad' => $m[1]]);
                                  Severity: Major
                                  Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf.class.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return $tpl->_url_wrapper($m[1]);
                                    Severity: Major
                                    Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf.class.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return $start . $_this->_compile_foreach($m) . $end;
                                      Severity: Major
                                      Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf_compile.class.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return false;
                                        Severity: Major
                                        Found in plugins/auth/classes/auth/yf_auth_user.class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language