| Conditions | 1 |
| Paths | 1 |
| Total Lines | 27 |
| Code Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function generateDefaultConfigurationFile() |
||
| 26 | { |
||
| 27 | $this->config = [ |
||
| 28 | 'workflow' => [ |
||
| 29 | 'is_timer_running' => false, |
||
| 30 | 'timer_toggl_id' => null, |
||
| 31 | 'timer_harvest_id' => null, |
||
| 32 | 'timer_description' => '', |
||
| 33 | ], |
||
| 34 | 'toggl' => [ |
||
| 35 | 'is_active' => true, |
||
| 36 | 'api_token' => '', |
||
| 37 | 'default_project_id' => '', |
||
| 38 | 'default_tags' => '', |
||
| 39 | ], |
||
| 40 | 'harvest' => [ |
||
| 41 | |||
| 42 | 'is_active' => true, |
||
| 43 | 'domain' => '', |
||
| 44 | 'api_token' => '', |
||
| 45 | 'default_project_id' => '', |
||
| 46 | 'default_task_id' => '', |
||
| 47 | ], |
||
| 48 | ]; |
||
| 49 | |||
| 50 | $this->save(); |
||
| 51 | } |
||
| 52 | |||
| 104 |