@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * @param string $directory |
| 61 | 61 | * @param integer|null $timeout |
| 62 | 62 | */ |
| 63 | - public function __construct($gitExecutable, $directory, $timeout=60) { |
|
| 63 | + public function __construct($gitExecutable, $directory, $timeout = 60) { |
|
| 64 | 64 | $this->gitExecutable = $gitExecutable; |
| 65 | 65 | $this->timeout = $timeout; |
| 66 | 66 | |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | * |
| 96 | 96 | * @throws VersionControlException |
| 97 | 97 | */ |
| 98 | - public function runCommand(Command $command, $exceptionCode=null) { |
|
| 98 | + public function runCommand(Command $command, $exceptionCode = null) { |
|
| 99 | 99 | $process = $this->createProcess($command->getCommandLine()); |
| 100 | 100 | $process->run(); |
| 101 | 101 | |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | * |
| 170 | 170 | * @codeCoverageIgnore |
| 171 | 171 | */ |
| 172 | - public function fetch($remote=null) { |
|
| 172 | + public function fetch($remote = null) { |
|
| 173 | 173 | $command = new FetchCommand($remote); |
| 174 | 174 | return $this->runCommand( |
| 175 | 175 | $command, VersionControlException::CODE_FETCH_FAILED); |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | * |
| 187 | 187 | * @codeCoverageIgnore |
| 188 | 188 | */ |
| 189 | - public function fetchTags($remote=null) { |
|
| 189 | + public function fetchTags($remote = null) { |
|
| 190 | 190 | $command = new FetchCommand($remote); |
| 191 | 191 | $command->setTags(true); |
| 192 | 192 | return $this->runCommand( |