propelorm/Propel2

View on GitHub
src/Propel/Generator/Behavior/QueryCache/QueryCacheBehavior.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method addDoCount has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function addDoCount(string &$script): void
    {
        $script .= "
public function doCount(?ConnectionInterface \$con = null): \Propel\Runtime\DataFetcher\DataFetcherInterface
{
Severity: Minor
Found in src/Propel/Generator/Behavior/QueryCache/QueryCacheBehavior.php - About 2 hrs to fix

    Method addDoSelect has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function addDoSelect(string &$script): void
        {
            $script .= "
    public function doSelect(?ConnectionInterface \$con = null): \Propel\Runtime\DataFetcher\DataFetcherInterface
    {
    Severity: Minor
    Found in src/Propel/Generator/Behavior/QueryCache/QueryCacheBehavior.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status