Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 14 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | 4 | public function __construct() |
|
29 | { |
||
30 | 4 | $map = [ |
|
31 | 4 | 'changeKind' => 'change_kind', |
|
32 | 4 | 'changeTime' => 'change_time', |
|
33 | 4 | 'defaultHighlightColor' => 'default_highlight_color', |
|
34 | 4 | 'highlightColor' => 'highlight_color', |
|
35 | 4 | 'highlightMode' => 'highlight_mode', |
|
36 | 4 | 'id' => 'id', |
|
37 | 4 | 'length' => 'length', |
|
38 | 4 | 'start' => 'start', |
|
39 | 4 | 'text' => 'text', |
|
40 | 4 | 'userName' => 'username', |
|
41 | 4 | ]; |
|
42 | |||
43 | 4 | $this->setMap($map); |
|
44 | } |
||
46 |