Completed
Pull Request — master (#9)
by Rafael Gonçalves
02:11
created
Git/Git.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $command = sprintf('cd %s && %s', $this->getGitDir(), $command);
34 34
         $resultCommand = shell_exec($command);
35 35
 
36
-        return (string)trim($resultCommand);
36
+        return (string) trim($resultCommand);
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
DataCollector/GitDataCollector.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -192,11 +192,11 @@  discard block
 block discarded – undo
192 192
      */
193 193
     public function getIconColor()
194 194
     {
195
-        if ((float)$this->getSymfonyVersion() >= 2.8) {
195
+        if ((float) $this->getSymfonyVersion() >= 2.8) {
196 196
             return $this->data['iconColor'] = '#AAAAAA';
197 197
         }
198 198
 
199
-        return $this->data['iconColor'] = '#3F3F3F';#3F3F3F
199
+        return $this->data['iconColor'] = '#3F3F3F'; #3F3F3F
200 200
     }
201 201
 
202 202
     /**
@@ -232,9 +232,9 @@  discard block
 block discarded – undo
232 232
         $time = date_diff($dateCommit, $dateNow);
233 233
 
234 234
         // static time difference : minutes and seconds
235
-        $this->data['timeCommitIntervalMinutes'] = $time->format('%y') * 365 * 24 * 60 + $time->format(
235
+        $this->data['timeCommitIntervalMinutes'] = $time->format('%y')*365*24*60+$time->format(
236 236
                 '%m'
237
-            ) * 30 * 24 * 60 + $time->format('%d') * 24 * 60 + $time->format('%h') * 60 + $time->format('%i');
237
+            )*30*24*60+$time->format('%d')*24*60+$time->format('%h')*60+$time->format('%i');
238 238
         // full readable date
239 239
         $this->data['date'] = $date;
240 240
     }
Please login to merge, or discard this patch.