original_string: public function createCall($path, $command, array $arguments)
      {
          if (!self::isWindows()) {
              $binary = escapeshellcmd($this->path);
          } else {
              $binary = $this->path;
          }
          if (!empty($command)) {
              $command    = escapeshellarg($command);
          }
  
          list($args, $files) = $this->sanitizeCommandArguments($arguments);
          $cmd                = $this->createCallCommand($binary, $command, $args, $files);
          $call               = $this->doCreateCall($cmd, $path);
          return $call;
      }
code: public function createCall($path, $command, array $arguments)
      {
          if (!self::isWindows()) {
              $binary = escapeshellcmd($this->path);
          } else {
              $binary = $this->path;
          }
          if (!empty($command)) {
              $command    = escapeshellarg($command);
          }
  
          list($args, $files) = $this->sanitizeCommandArguments($arguments);
          $cmd                = $this->createCallCommand($binary, $command, $args, $files);
          $call               = $this->doCreateCall($cmd, $path);
          return $call;
      }
code_tokens: public function createCall ( $ path , $ command , array $ arguments ) { if ( ! self :: isWindows ( ) ) { $ binary = escapeshellcmd ( $ this -> path ) ; } else { $ binary = $ this -> path ; } if ( ! empty ( $ command ) ) { $ command = escapeshellarg ( $ command ) ; } list ( $ args , $ files ) = $ this -> sanitizeCommandArguments ( $ arguments ) ; $ cmd = $ this -> createCallCommand ( $ binary , $ command , $ args , $ files ) ; $ call = $ this -> doCreateCall ( $ cmd , $ path ) ; return $ call ; }
docstring: Create a call to the VCS binary for later execution
  
  @param   string  $path           The full path to the VCS repository
  @param   string  $command        The VCS command, e.g. show, commit or add
  @param   array   $arguments      The command arguments
  @return  Call
docstring_tokens: Create a call to the VCS binary for later execution