@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | protected static function preMergeAlter($text) : string |
297 | 297 | { |
298 | 298 | // Append new lines so that conflicts at the end of the text work. |
299 | - return $text . "\nthe\nend"; |
|
299 | + return $text."\nthe\nend"; |
|
300 | 300 | } |
301 | 301 | |
302 | 302 | /** |
@@ -333,18 +333,18 @@ discard block |
||
333 | 333 | if (!$this->dir) { |
334 | 334 | // Greate a temporary directory. |
335 | 335 | $tempfile = tempnam(sys_get_temp_dir(), ''); |
336 | - mkdir($tempfile . '.git'); |
|
336 | + mkdir($tempfile.'.git'); |
|
337 | 337 | if (file_exists($tempfile)) { |
338 | 338 | unlink($tempfile); |
339 | 339 | } |
340 | - $this->dir = $tempfile . '.git'; |
|
340 | + $this->dir = $tempfile.'.git'; |
|
341 | 341 | $this->git = $this->wrapper->init($this->dir); |
342 | 342 | |
343 | 343 | } |
344 | 344 | if ($this->git) { |
345 | 345 | $this->git->config('user.name', 'GitMerge'); |
346 | 346 | $this->git->config('user.email', '[email protected]'); |
347 | - $this->git->config('merge.conflictStyle', 'diff3'); } |
|
347 | + $this->git->config('merge.conflictStyle', 'diff3'); } |
|
348 | 348 | } |
349 | 349 | |
350 | 350 | /** |