MergeSettings   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
eloc 16
c 2
b 0
f 0
dl 0
loc 24
ccs 17
cts 17
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 19 1
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * ReportingCloud PHP SDK
6
 *
7
 * PHP SDK for ReportingCloud Web API. Authored and supported by Text Control GmbH.
8
 *
9
 * @link      https://www.reporting.cloud to learn more about ReportingCloud
10
 * @link      https://git.io/Jejj2 for the canonical source repository
11
 * @license   https://git.io/Jejjr
12
 * @copyright © 2022 Text Control GmbH
13
 */
14
15
namespace TxTextControl\ReportingCloud\PropertyMap;
16
17
/**
18
 * MergeSettings property map
19
 *
20
 * @package TxTextControl\ReportingCloud
21
 * @author  Jonathan Maron (@JonathanMaron)
22
 */
23
class MergeSettings extends AbstractPropertyMap
24
{
25
    /**
26
     * Set the property map of MergeSettings
27
     */
28 20
    public function __construct()
29
    {
30 20
        $map = [
31 20
            'author'                   => 'author',
32 20
            'creationDate'             => 'creation_date',
33 20
            'creatorApplication'       => 'creator_application',
34 20
            'culture'                  => 'culture',
35 20
            'documentSubject'          => 'document_subject',
36 20
            'documentTitle'            => 'document_title',
37 20
            'lastModificationDate'     => 'last_modification_date',
38 20
            'mergeHtml'                => 'merge_html',
39 20
            'removeEmptyBlocks'        => 'remove_empty_blocks',
40 20
            'removeEmptyFields'        => 'remove_empty_fields',
41 20
            'removeEmptyImages'        => 'remove_empty_images',
42 20
            'removeTrailingWhitespace' => 'remove_trailing_whitespace',
43 20
            'userPassword'             => 'user_password',
44 20
        ];
45
46 20
        $this->setMap($map);
47
    }
48
}
49