src/Report/TextReporter.php
private function getDiff($isDecoratedOutput, array $fixResult)
    {
        if (empty($fixResult['diff'])) {
            return '';
        }

        $diffFormatter = new DiffConsoleFormatter($isDecoratedOutput, sprintf(
            '<comment>      ---------- begin diff ----------</comment>%s%%s%s<comment>      ----------- end diff -----------</comment>',
            PHP_EOL,
            PHP_EOL
        ));

        return PHP_EOL.$diffFormatter->format($fixResult['diff']).PHP_EOL;
    }
private function getDiff($isDecoratedOutput, array $fixResult)
    {
        if (empty($fixResult['diff'])) {
            return '';
        }

        $diffFormatter = new DiffConsoleFormatter($isDecoratedOutput, sprintf(
            '<comment>      ---------- begin diff ----------</comment>%s%%s%s<comment>      ----------- end diff -----------</comment>',
            PHP_EOL,
            PHP_EOL
        ));

        return PHP_EOL.$diffFormatter->format($fixResult['diff']).PHP_EOL;
    }
private function getDiff ( $ isDecoratedOutput , array $ fixResult ) { if ( empty ( $ fixResult [ 'diff' ] ) ) { return '' ; } $ diffFormatter = new DiffConsoleFormatter ( $ isDecoratedOutput , sprintf ( '<comment>      ---------- begin diff ----------</comment>%s%%s%s<comment>      ----------- end diff -----------</comment>' , PHP_EOL , PHP_EOL ) ) ; return PHP_EOL . $ diffFormatter -> format ( $ fixResult [ 'diff' ] ) . PHP_EOL ; }
@param bool  $isDecoratedOutput
@param array $fixResult

@return string
@param bool $isDecoratedOutput @param array $fixResult