gjerokrsteski/pimf-framework

View on GitHub
core/Pimf/Cache.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid too many return statements within this method.
Wontfix

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

    Avoid too many return statements within this method.
    Wontfix

                    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.
      Wontfix

                      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.
        Wontfix

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

          There are no issues that match your filters.

          Category
          Status