classes/phing/tasks/ext/phpcpd/formatter/DefaultPHPCPDResultFormatter.php
private function processClonesNew($clones, $useFile = false, $outFile = null)
    {
        if ($useFile) {
            $resource = fopen($outFile->getPath(), "w");
        } else {
            $resource = fopen("php://output", "w");
        }

        $output = new \Symfony\Component\Console\Output\StreamOutput($resource);
        $logger = new \SebastianBergmann\PHPCPD\Log\Text();
        $logger->printResult($output, $clones);
    }
private function processClonesNew($clones, $useFile = false, $outFile = null)
    {
        if ($useFile) {
            $resource = fopen($outFile->getPath(), "w");
        } else {
            $resource = fopen("php://output", "w");
        }

        $output = new \Symfony\Component\Console\Output\StreamOutput($resource);
        $logger = new \SebastianBergmann\PHPCPD\Log\Text();
        $logger->printResult($output, $clones);
    }
private function processClonesNew ( $ clones , $ useFile = false , $ outFile = null ) { if ( $ useFile ) { $ resource = fopen ( $ outFile -> getPath ( ) , "w" ) ; } else { $ resource = fopen ( "php://output" , "w" ) ; } $ output = new \ Symfony \ Component \ Console \ Output \ StreamOutput ( $ resource ) ; $ logger = new \ SebastianBergmann \ PHPCPD \ Log \ Text ( ) ; $ logger -> printResult ( $ output , $ clones ) ; }
Wrapper for PHPCPD 2.0

@param CodeCloneMap   $clones
@param boolean        $useFile
@param PhingFile|null $outFile
Wrapper for PHPCPD 2 . 0