Showing 3,246 of 4,217 total issues

Avoid too many return statements within this method.
Open

                return $start . 'echo $replace[\'' . $m[1] . '\'];' . $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_safe("advertising")->_show(array("ad"=>\'' . $m[1] . '\'));' . $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 _class('form2')->tpl_row($m[1], $replace, $m[3], $m[5], $m[7]);
      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 . 'echo common()->_show_error_inline(\'' . $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 ' . $m['func'] . '(\'' . str_replace("'", "\\'", $m['content']) . '\', _attrs_string2array(\'' . str_replace("'", "\\'", $m['args']) . '\'));' . $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 $this->call_custom_pattern(\'' . $m['name'] . '\', \'' . str_replace("'", "\\'", $m['args']) . '\', \'' . str_replace("'", "\\'", $m['body']) . '\', $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 _class_safe('graphics')->tip(['raw' => $m['raw'], 'replace' => $replace, 'tpl_name' => $name]);
              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 . '}' . $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

                    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 $this->_save_login_in_session($user_info);
                      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 $tpl->_process_var_filters($val ?: $class_prop, $m[3]);
                        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 $default;
                          Severity: Major
                          Found in plugins/pubsub/classes/pubsub/yf_pubsub_driver_rabbitmq.class.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return $start . '/*exec_last_start*/echo main()->_execute(\'' . $m[2] . '\',\'' . $m[3] . '\',\'' . $m[4] . '\',\'' . $name . '\',0,false);/*exec_last_end*/' . $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 (DEBUG_MODE && is_array($replace) ? "<pre>".print_r(array_keys($replace),1)."</pre>" : "");' . $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(\'tpl\')->_process_var_filters($replace[\'' . $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 main()->_execute(\'graphics\',\'_show_block\',\'name=' . $m[1] . ';' . $m[2] . '\',\'' . $name . '\',0,false);' . $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(\'tpl\')->_url_wrapper(\'' . $m[1] . '\');' . $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 common()->_show_error_inline($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 is_array($replace) ? '<pre>' . print_r(array_keys($replace), 1) . '</pre>' : '';
                                        Severity: Major
                                        Found in plugins/tpl/classes/tpl/yf_tpl_driver_yf.class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language