@@ -33,7 +33,7 @@ |
||
| 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 | /** |
@@ -192,11 +192,11 @@ discard block |
||
| 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 |
||
| 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 | } |