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