gjerokrsteski/pimf-framework

View on GitHub
core/Pimf/Cache.php

Summary

Maintainability
A
2 hrs
Test Coverage

Avoid too many return statements within this method.
Open

                return new CS\WinCache($cache['key']);
Severity: Major
Found in core/Pimf/Cache.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return new CS\Redis(Redis::database());
    Severity: Major
    Found in core/Pimf/Cache.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return new CS\Dba(Str::ensureTrailing('/', $cache['storage_path']) . $cache['key']);
      Severity: Major
      Found in core/Pimf/Cache.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return new CS\Memory();
        Severity: Major
        Found in core/Pimf/Cache.php - About 30 mins to fix

          There are no issues that match your filters.

          Category
          Status