src/PHPCoverFish/Common/Base/BaseCoverFishOutput.php
protected function writeScanPassStatistic(CoverFishResult $coverFishResult)
    {
        $passStatistic = '%s file(s) and %s method(s) scanned, scan succeeded, no problems found.%s';
        $passStatistic = sprintf($passStatistic,
            $coverFishResult->getFileCount(),
            $coverFishResult->getTestCount(),
            PHP_EOL
        );

        $scanResultMacro = '%s%s%s';
        $scanResult = sprintf($scanResultMacro,
            ($this->outputLevel === 0)
                ? PHP_EOL
                : null,
            PHP_EOL,
            (false === $this->preventAnsiColors)
                ? Color::tplGreenColor($passStatistic)
                : $passStatistic
        );

        $this->write($scanResult);
    }
protected function writeScanPassStatistic(CoverFishResult $coverFishResult)
    {
        $passStatistic = '%s file(s) and %s method(s) scanned, scan succeeded, no problems found.%s';
        $passStatistic = sprintf($passStatistic,
            $coverFishResult->getFileCount(),
            $coverFishResult->getTestCount(),
            PHP_EOL
        );

        $scanResultMacro = '%s%s%s';
        $scanResult = sprintf($scanResultMacro,
            ($this->outputLevel === 0)
                ? PHP_EOL
                : null,
            PHP_EOL,
            (false === $this->preventAnsiColors)
                ? Color::tplGreenColor($passStatistic)
                : $passStatistic
        );

        $this->write($scanResult);
    }
protected function writeScanPassStatistic ( CoverFishResult $ coverFishResult ) { $ passStatistic = '%s file(s) and %s method(s) scanned, scan succeeded, no problems found.%s' ; $ passStatistic = sprintf ( $ passStatistic , $ coverFishResult -> getFileCount ( ) , $ coverFishResult -> getTestCount ( ) , PHP_EOL ) ; $ scanResultMacro = '%s%s%s' ; $ scanResult = sprintf ( $ scanResultMacro , ( $ this -> outputLevel === 0 ) ? PHP_EOL : null , PHP_EOL , ( false === $ this -> preventAnsiColors ) ? Color :: tplGreenColor ( $ passStatistic ) : $ passStatistic ) ; $ this -> write ( $ scanResult ) ; }
write scan pass results

@param CoverFishResult $coverFishResult
write scan pass results