original_string: public function getFile(Repo $repo)
      {
          $file = tempnam(sys_get_temp_dir(), 'composer');
          $content = file_get_contents($this->helper->getRawFileUrl($repo->getSlug(), 'master', 'composer.json'));
          file_put_contents($file, $content);
  
          return $file;
      }
code: public function getFile(Repo $repo)
      {
          $file = tempnam(sys_get_temp_dir(), 'composer');
          $content = file_get_contents($this->helper->getRawFileUrl($repo->getSlug(), 'master', 'composer.json'));
          file_put_contents($file, $content);
  
          return $file;
      }
code_tokens: public function getFile ( Repo $ repo ) { $ file = tempnam ( sys_get_temp_dir ( ) , 'composer' ) ; $ content = file_get_contents ( $ this -> helper -> getRawFileUrl ( $ repo -> getSlug ( ) , 'master' , 'composer.json' ) ) ; file_put_contents ( $ file , $ content ) ; return $ file ; }
docstring: Get composer file
  
  @param \Snide\Bundle\TravinizerBundle\Model\Repo $repo
  @return string
docstring_tokens: Get composer file