PHPSocialNetwork/phpfastcache

View on GitHub
lib/Phpfastcache/Drivers/Cassandra/Driver.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method driverConnect has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function driverConnect(): bool
    {
        $clientConfig = $this->getConfig();

        $clusterBuilder = Cassandra::cluster()
Severity: Minor
Found in lib/Phpfastcache/Drivers/Cassandra/Driver.php - About 1 hr to fix

    Method driverWrite has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function driverWrite(ExtendedCacheItemInterface $item): bool
        {
    
            try {
                $cacheData = $this->encode($this->driverPreWrap($item));
    Severity: Minor
    Found in lib/Phpfastcache/Drivers/Cassandra/Driver.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status