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