original_string: private function getFiles()
      {
          $process = new Process('git diff --cached --name-status --diff-filter=ACMR');
          $process->run();
  
          if ($process->isSuccessful()) {
              return array_filter(explode("\n", $process->getOutput()));
          }
  
          return [];
      }
code: private function getFiles()
      {
          $process = new Process('git diff --cached --name-status --diff-filter=ACMR');
          $process->run();
  
          if ($process->isSuccessful()) {
              return array_filter(explode("\n", $process->getOutput()));
          }
  
          return [];
      }
code_tokens: private function getFiles ( ) { $ process = new Process ( 'git diff --cached --name-status --diff-filter=ACMR' ) ; $ process -> run ( ) ; if ( $ process -> isSuccessful ( ) ) { return array_filter ( explode ( "\n" , $ process -> getOutput ( ) ) ) ; } return [ ] ; }
docstring: Gets the list of files from the index.
  
  @return array
docstring_tokens: Gets the list of files from the index .