MPOS/php-mpos

View on GitHub
include/smarty/libs/sysplugins/smarty_cacheresource_custom.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method save has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    abstract protected function save($id, $name, $cache_id, $compile_id, $exp_time, $content);
Severity: Minor
Found in include/smarty/libs/sysplugins/smarty_cacheresource_custom.php - About 45 mins to fix

    Method fetch has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        abstract protected function fetch($id, $name, $cache_id, $compile_id, &$content, &$mtime);
    Severity: Minor
    Found in include/smarty/libs/sysplugins/smarty_cacheresource_custom.php - About 45 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

        There are no issues that match your filters.

        Category
        Status