@@ -50,7 +50,7 @@ |
||
| 50 | 50 | */ |
| 51 | 51 | public function __construct($path = '.') |
| 52 | 52 | { |
| 53 | - parent::__construct(realpath(__DIR__ . '/../')); |
|
| 53 | + parent::__construct(realpath(__DIR__.'/../')); |
|
| 54 | 54 | $this->pushService = $this->env('PUSH_SERVICE'); |
| 55 | 55 | $this->worklogFormat = $this->env('WORKLOG_FORMAT'); |
| 56 | 56 | $this->tempoBlacklistBillable = $this->env('TEMPO_BLACKLIST_BILLABLE'); |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | { |
| 23 | 23 | |
| 24 | 24 | $data = json_encode($worklog); |
| 25 | - $this->log->info("addWorklog=\n", [ 'data' => $data]); |
|
| 25 | + $this->log->info("addWorklog=\n", ['data' => $data]); |
|
| 26 | 26 | $type = 'POST'; |
| 27 | 27 | |
| 28 | 28 | $ret = $this->exec($this->uri, $data, $type); |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | public function editWorklog($worklog, $tempoWorklogId) |
| 50 | 50 | { |
| 51 | 51 | $data = json_encode($worklog); |
| 52 | - $this->log->info("editWorklog=\n", [ 'data' => $data]); |
|
| 52 | + $this->log->info("editWorklog=\n", ['data' => $data]); |
|
| 53 | 53 | |
| 54 | 54 | $url = $this->uri."/$tempoWorklogId"; |
| 55 | 55 | $type = 'PUT'; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | /** |
| 21 | 21 | * @var array|null of attributes |
| 22 | 22 | */ |
| 23 | - public $attributes = null; |
|
| 23 | + public $attributes = null; |
|
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * @var mixed |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | * @return int |
| 187 | 187 | */ |
| 188 | 188 | protected function getBillableBlacklist($issue, $seconds) { |
| 189 | - foreach($this->configuration->getTempoBlacklistBillable() as $blacklistPattern) { |
|
| 189 | + foreach ($this->configuration->getTempoBlacklistBillable() as $blacklistPattern) { |
|
| 190 | 190 | if (empty(trim($blacklistPattern))) { |
| 191 | 191 | continue; |
| 192 | 192 | } |