code: 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;
      }
docs: @param bool  $isDecoratedOutput
  @param array $fixResult
  
  @return string