Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix some whitespaces.

  • Loading branch information...
commit e1109d299d83e5663a3a8d137307728defb32e38 1 parent f6afd4b
@opi99 opi99 authored
Showing with 6 additions and 8 deletions.
  1. +6 −8 VersionControl/SVN/Command.php
View
14 VersionControl/SVN/Command.php
@@ -92,7 +92,7 @@
* @var string $binaryPath
*/
public $binaryPath = '/usr/local/bin/svn';
-
+
/**
* Legacy / compatibility location of the svn client binary
*
@@ -315,9 +315,7 @@ public function prepare()
$this->postProcessSwitches($invalidSwitches);
- $this->preparedCmd = implode(
- ' ', array_merge($cmdParts, $this->args)
- );
+ $this->preparedCmd = implode(' ', array_merge($cmdParts, $this->args));
}
/**
@@ -364,7 +362,7 @@ protected function preProcessSwitches()
} else {
$this->switches['xml'] = false;
}
-
+
$this->switches['non-interactive'] = true;
$this->fillSwitch('username', $this->username);
@@ -405,7 +403,7 @@ public function checkCommandRequirements()
VersionControl_SVN_Exception::MIN_ARGS
);
}
-
+
// Check for presence of required switches
if (sizeof($this->requiredSwitches) > 0) {
$missing = array();
@@ -447,7 +445,7 @@ public function run($args = array(), $switches = array())
if ($this->svn_path != '') {
$this->binaryPath = $this->svn_path;
}
-
+
if (!file_exists($this->binaryPath)) {
$system = new System();
$this->binaryPath = $system->which('svn');
@@ -472,7 +470,7 @@ public function run($args = array(), $switches = array())
$cmd = $this->preparedCmd;
// On Windows, don't use escapeshellcmd, and double-quote $cmd
- // so it's executed as
+ // so it's executed as
// cmd /c ""C:\Program Files\SVN\bin\svn.exe" info "C:\Program Files\dev\trunk""
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$cmd = str_replace(
Please sign in to comment.
Something went wrong with that request. Please try again.