MPOS/php-mpos

View on GitHub

Showing 889 of 1,089 total issues

Avoid too many return statements within this method.
Open

                            return $plugin_object->compile($args, $this);
Severity: Major
Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                        return "(is_array(\$tmp = \$_smarty_tpl->getConfigVariable($_index[1])) ? \$tmp[$_index[2]] : null)";

      Avoid too many return statements within this method.
      Open

                      return '$_smarty_tpl';

        Avoid too many return statements within this method.
        Open

                        return "'$_version'";

          Avoid too many return statements within this method.
          Open

                          return "@constant({$_index[1]})";

            Avoid too many return statements within this method.
            Open

                            return "'$_rdelim'";

              Avoid too many return statements within this method.
              Open

                                              return $function($new_args, $this);
              Severity: Major
              Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                    return $this->callTagCompiler('private_block_plugin', $args, $parameter, $tag, $function);
                Severity: Major
                Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                          return $this->smarty->registered_plugins[Smarty::PLUGIN_COMPILER][$tag][0][0]->$function[1]($args, $this);
                  Severity: Major
                  Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return '<a href="mailto:' . $address . '" ' . $extra . '>' . $text . '</a>';
                    Severity: Major
                    Found in include/smarty/libs/plugins/function.mailto.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return self::$yy_action[$i];
                      Severity: Major
                      Found in include/smarty/libs/sysplugins/smarty_internal_templateparser.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return self::$yy_default[$stateno];
                        Severity: Major
                        Found in include/smarty/libs/sysplugins/smarty_internal_configfileparser.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return count($value);
                          Severity: Major
                          Found in include/smarty/libs/sysplugins/smarty_internal_template.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                    return $expected;
                            Severity: Major
                            Found in include/smarty/libs/sysplugins/smarty_internal_templateparser.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return $smarty->_resource_handlers[$type] = self::$resources['stream'];
                              Severity: Major
                              Found in include/smarty/libs/sysplugins/smarty_resource.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                            return true;
                                Severity: Major
                                Found in include/smarty/libs/sysplugins/smarty_internal_templateparser.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                          return $expected;
                                  Severity: Major
                                  Found in include/smarty/libs/sysplugins/smarty_internal_configfileparser.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return self::$yy_action[$i];
                                    Severity: Major
                                    Found in include/smarty/libs/sysplugins/smarty_internal_configfileparser.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return iterator_count($value);
                                      Severity: Major
                                      Found in include/smarty/libs/sysplugins/smarty_internal_template.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                                return false;
                                        Severity: Major
                                        Found in include/smarty/libs/sysplugins/smarty_internal_configfileparser.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language