original_string: public function renameFile($fromPath, $toPath, $commitMsg = null, $force = false, $author = null)
      {
          $this->move($fromPath, $toPath, $force);
  
          if ($commitMsg === null) {
              $commitMsg  = sprintf('%s renamed/moved file "%s" to "%s"', __CLASS__, $fromPath, $toPath);
          }
  
          $this->commit($commitMsg, array($fromPath, $toPath), $author);
  
          return $this->getCurrentCommit();
      }
code: public function renameFile($fromPath, $toPath, $commitMsg = null, $force = false, $author = null)
      {
          $this->move($fromPath, $toPath, $force);
  
          if ($commitMsg === null) {
              $commitMsg  = sprintf('%s renamed/moved file "%s" to "%s"', __CLASS__, $fromPath, $toPath);
          }
  
          $this->commit($commitMsg, array($fromPath, $toPath), $author);
  
          return $this->getCurrentCommit();
      }
code_tokens: public function renameFile ( $ fromPath , $ toPath , $ commitMsg = null , $ force = false , $ author = null ) { $ this -> move ( $ fromPath , $ toPath , $ force ) ; if ( $ commitMsg === null ) { $ commitMsg = sprintf ( '%s renamed/moved file "%s" to "%s"' , __CLASS__ , $ fromPath , $ toPath ) ; } $ this -> commit ( $ commitMsg , array ( $ fromPath , $ toPath ) , $ author ) ; return $ this -> getCurrentCommit ( ) ; }
docstring: Renames a file and commit the changes immediately
  
  @param   string          $fromPath       The source path
  @param   string          $toPath         The destination path
  @param   string|null     $commitMsg      The commit message used when committing the changes
  @param   boolean         $force          True to continue even though SVN reports a possible conflict
  @param   string|null     $author         The author
  @return  string                          The current commit hash
docstring_tokens: Renames a file and commit the changes immediately