original_string: public function review(ReporterInterface $reporter, ReviewableInterface $file)
      {
          $cmd = sprintf('file %s | grep --fixed-strings --quiet "CRLF"', $file->getFullPath());
  
          $process = $this->getProcess($cmd);
          $process->run();
  
          if ($process->isSuccessful()) {
              $message = 'File contains CRLF line endings';
              $reporter->error($message, $this, $file);
          }
      }
code: public function review(ReporterInterface $reporter, ReviewableInterface $file)
      {
          $cmd = sprintf('file %s | grep --fixed-strings --quiet "CRLF"', $file->getFullPath());
  
          $process = $this->getProcess($cmd);
          $process->run();
  
          if ($process->isSuccessful()) {
              $message = 'File contains CRLF line endings';
              $reporter->error($message, $this, $file);
          }
      }
code_tokens: public function review ( ReporterInterface $ reporter , ReviewableInterface $ file ) { $ cmd = sprintf ( 'file %s | grep --fixed-strings --quiet "CRLF"' , $ file -> getFullPath ( ) ) ; $ process = $ this -> getProcess ( $ cmd ) ; $ process -> run ( ) ; if ( $ process -> isSuccessful ( ) ) { $ message = 'File contains CRLF line endings' ; $ reporter -> error ( $ message , $ this , $ file ) ; } }
docstring: Checks if the set file contains any CRLF line endings.
  
  @link http://stackoverflow.com/a/3570574
docstring_tokens: Checks if the set file contains any CRLF line endings .