@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | // generate summary overview |
89 | 89 | foreach ($this->repos as $repo) { |
90 | 90 | $newRepoHome = $this->getFilesystemRepoPath($repo); |
91 | - if (file_exists($newRepoHome . DIRECTORY_SEPARATOR . '.git')) { |
|
91 | + if (file_exists($newRepoHome.DIRECTORY_SEPARATOR.'.git')) { |
|
92 | 92 | $summary[] = $this->summaryItem($repo, false, true); |
93 | 93 | } elseif ($this->forkExists($username, $repo)) { |
94 | 94 | $summary[] = $this->summaryItem($repo, true, false); |
@@ -147,13 +147,13 @@ discard block |
||
147 | 147 | $wrapper = new GitWrapper(); |
148 | 148 | |
149 | 149 | foreach ($this->repos as $repo) { |
150 | - $wrapper->git('checkout master', 'repos' . DIRECTORY_SEPARATOR . $repo); |
|
150 | + $wrapper->git('checkout master', 'repos'.DIRECTORY_SEPARATOR.$repo); |
|
151 | 151 | $this->outputInfo("{$repo}: checkout master ✔"); |
152 | 152 | |
153 | - $wrapper->git('fetch upstream', 'repos' . DIRECTORY_SEPARATOR . $repo); |
|
153 | + $wrapper->git('fetch upstream', 'repos'.DIRECTORY_SEPARATOR.$repo); |
|
154 | 154 | $this->outputInfo("{$repo}: fetch upstream ✔"); |
155 | 155 | |
156 | - $wrapper->git('rebase upstream/master master', 'repos' . DIRECTORY_SEPARATOR . $repo); |
|
156 | + $wrapper->git('rebase upstream/master master', 'repos'.DIRECTORY_SEPARATOR.$repo); |
|
157 | 157 | $this->outputInfo("{$repo}: rebase master ✔"); |
158 | 158 | } |
159 | 159 | } |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | |
200 | 200 | private function getFilesystemRepoPath($repo) |
201 | 201 | { |
202 | - return 'repos' . DIRECTORY_SEPARATOR . $repo; |
|
202 | + return 'repos'.DIRECTORY_SEPARATOR.$repo; |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | private function forkExists($username, $repo) |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | $this->outputSuccess("{$repo}: cloning ..."); |
244 | 244 | $this->getGitWrapper()->cloneRepository($cloneUrl, $newRepoHome); |
245 | 245 | if (!empty($upstreamUsername)) { |
246 | - $this->getGitWrapper()->git('remote add upstream https://github.com/'.$upstreamUsername.'/'.$repo.'.git', $newRepoHome); |
|
246 | + $this->getGitWrapper()->git('remote add upstream https://github.com/'.$upstreamUsername.'/'.$repo.'.git', $newRepoHome); |
|
247 | 247 | $this->outputInfo("Configure upstream https://github.com/{$upstreamUsername}/{$repo}.git"); |
248 | 248 | } |
249 | 249 | $this->outputSuccess("{$repo}: ✔ complete"); |