MPOS/php-mpos

View on GitHub

Showing 1,089 of 1,089 total issues

Method registerObject has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function registerObject($object_name, $object_impl, $allowed = array(), $smarty_args = true, $block_methods = array())
Severity: Minor
Found in include/smarty/libs/sysplugins/smarty_internal_templatebase.php - About 35 mins to fix

    Method clear has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        abstract public function clear(Smarty $smarty, $resource_name, $cache_id, $compile_id, $exp_time);
    Severity: Minor
    Found in include/smarty/libs/sysplugins/smarty_cacheresource.php - About 35 mins to fix

      Method registerPlugin has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function registerPlugin($type, $tag, $callback, $cacheable = true, $cache_attr = null)
      Severity: Minor
      Found in include/smarty/libs/sysplugins/smarty_internal_templatebase.php - About 35 mins to fix

        Method clear has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public function clear(Smarty $smarty, $resource_name, $cache_id, $compile_id, $exp_time)
        Severity: Minor
        Found in include/smarty/libs/sysplugins/smarty_cacheresource_custom.php - About 35 mins to fix

          Method callTagCompiler has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public function callTagCompiler($tag, $args, $param1 = null, $param2 = null, $param3 = null)
          Severity: Minor
          Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 35 mins to fix

            Method createTemplate has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public function createTemplate($template, $cache_id = null, $compile_id = null, $parent = null, $do_clone = true)
            Severity: Minor
            Found in include/smarty/libs/Smarty.class.php - About 35 mins to fix

              Method compile has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public function compile($args, $compiler, $parameter, $tag, $method)

                Method clearCache has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    public function clearCache($template_name, $cache_id = null, $compile_id = null, $exp_time = null, $type = null)
                Severity: Minor
                Found in include/smarty/libs/Smarty.class.php - About 35 mins to fix

                  Method compile has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public function compile($args, $compiler, $parameter, $tag, $function)

                    Method call has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        public static function call($_name, Smarty_Internal_Template $_template, $_params, $_hash, $_nocache)
                    Severity: Minor
                    Found in include/smarty/libs/sysplugins/smarty_internal_function_call_handler.php - About 35 mins to fix

                      Method compile has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public function compile($args, $compiler, $parameter, $tag, $function)

                        Method invalidate has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            protected function invalidate($cid = null, $resource_name = null, $cache_id = null, $compile_id = null, $resource_uid = null)
                        Severity: Minor
                        Found in include/smarty/libs/sysplugins/smarty_cacheresource_keyvaluestore.php - About 35 mins to fix

                          Method getLatestInvalidationTimestamp has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              protected function getLatestInvalidationTimestamp($cid, $resource_name = null, $cache_id = null, $compile_id = null, $resource_uid = null)
                          Severity: Minor
                          Found in include/smarty/libs/sysplugins/smarty_cacheresource_keyvaluestore.php - About 35 mins to fix

                            Method clear has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public function clear(Smarty $smarty, $resource_name, $cache_id, $compile_id, $exp_time)
                            Severity: Minor
                            Found in include/smarty/libs/sysplugins/smarty_cacheresource_keyvaluestore.php - About 35 mins to fix

                              Method listInvalidationKeys has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  protected function listInvalidationKeys($cid, $resource_name = null, $cache_id = null, $compile_id = null, $resource_uid = null)
                              Severity: Minor
                              Found in include/smarty/libs/sysplugins/smarty_cacheresource_keyvaluestore.php - About 35 mins to fix

                                Method compile has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    public static function compile($_function, $_attr, $_template, $_script, $_assign = null)
                                Severity: Minor
                                Found in include/smarty/libs/sysplugins/smarty_internal_nocache_insert.php - About 35 mins to fix

                                  Method getSingle has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                    protected function getSingle($value, $search='id', $field='id', $type="i", $lower=false) {
                                  Severity: Minor
                                  Found in include/classes/base.class.php - About 35 mins to fix

                                    Method updatePassword has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                      public function updatePassword($userID, $current, $new1, $new2, $strToken) {
                                    Severity: Minor
                                    Found in include/classes/user.class.php - About 35 mins to fix

                                      Method compile has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          public function compile($args, $compiler, $parameter, $tag, $method)

                                        Method calc has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            public static function calc($hash, $password, $salt, $iterations, $length)
                                        Severity: Minor
                                        Found in include/lib/scrypt.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language