Completed
Push — master ( 9d2fcd...cd4e86 )
by Basil
02:49
created
dev/RepoController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
      * @param string $repo
204 204
      * @param string $isFork
205 205
      * @param string $exists
206
-     * @return array
206
+     * @return string[]
207 207
      */
208 208
     private function summaryItem($repo, $isFork, $exists)
209 209
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
      */
218 218
     private function getFilesystemRepoPath($repo)
219 219
     {
220
-        return 'repos' . DIRECTORY_SEPARATOR . $repo;
220
+        return 'repos'.DIRECTORY_SEPARATOR.$repo;
221 221
     }
222 222
     
223 223
     /**
Please login to merge, or discard this patch.