Test Failed
Pull Request — develop (#4)
by Stephen
06:10
created

NcentralClassmap   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 93
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 89
c 1
b 0
f 0
dl 0
loc 93
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
B getCollection() 0 90 1
1
<?php
2
3
namespace Spinen\Nable\Ncentral;
4
5
use Spinen\Nable\Ncentral\Type;
6
use Phpro\SoapClient\Soap\ClassMap\ClassMapCollection;
7
use Phpro\SoapClient\Soap\ClassMap\ClassMap;
8
9
class NcentralClassmap
10
{
11
12
    public static function getCollection() : \Phpro\SoapClient\Soap\ClassMap\ClassMapCollection
13
    {
14
        return new ClassMapCollection([
15
            new ClassMap('stringArray', Type\StringArray::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\StringArray was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
16
            new ClassMap('activeIssuesList', Type\ActiveIssuesList::class),
17
            new ClassMap('eiKeyValue', Type\EiKeyValue::class),
18
            new ClassMap('eiTuple', Type\EiTuple::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\EiTuple was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
19
            new ClassMap('activeIssuesListResponse', Type\ActiveIssuesListResponse::class),
20
            new ClassMap('eiKeyValueList', Type\EiKeyValueList::class),
21
            new ClassMap('customerAdd', Type\CustomerAdd::class),
22
            new ClassMap('customerAddResponse', Type\CustomerAddResponse::class),
23
            new ClassMap('organizationPropertyList', Type\OrganizationPropertyList::class),
24
            new ClassMap('organizationPropertyListResponse', Type\OrganizationPropertyListResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Ty...ionPropertyListResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
25
            new ClassMap('organizationProperties', Type\OrganizationProperties::class),
26
            new ClassMap('organizationProperty', Type\OrganizationProperty::class),
27
            new ClassMap('accessGroupAdd', Type\AccessGroupAdd::class),
28
            new ClassMap('accessGroupAddResponse', Type\AccessGroupAddResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\AccessGroupAddResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
29
            new ClassMap('lastExportReset', Type\LastExportReset::class),
30
            new ClassMap('lastExportResetResponse', Type\LastExportResetResponse::class),
31
            new ClassMap('userRoleList', Type\UserRoleList::class),
32
            new ClassMap('userRoleListResponse', Type\UserRoleListResponse::class),
33
            new ClassMap('eiKeyValuesList', Type\EiKeyValuesList::class),
34
            new ClassMap('eiKeyValues', Type\EiKeyValues::class),
35
            new ClassMap('arrayList', Type\ArrayList::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\ArrayList was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
36
            new ClassMap('abstractList', Type\AbstractList::class),
37
            new ClassMap('abstractCollection', Type\AbstractCollection::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\AbstractCollection was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
38
            new ClassMap('deviceGetStatus', Type\DeviceGetStatus::class),
39
            new ClassMap('deviceGetStatusResponse', Type\DeviceGetStatusResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\DeviceGetStatusResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
40
            new ClassMap('psaCreateCustomTicket', Type\PsaCreateCustomTicket::class),
41
            new ClassMap('psaCreateCustomTicketResponse', Type\PsaCreateCustomTicketResponse::class),
42
            new ClassMap('eiCustomPsaTicketResponse', Type\EiCustomPsaTicketResponse::class),
43
            new ClassMap('accessGroupList', Type\AccessGroupList::class),
44
            new ClassMap('accessGroupListResponse', Type\AccessGroupListResponse::class),
45
            new ClassMap('SOAdd', Type\SOAdd::class),
46
            new ClassMap('SOAddResponse', Type\SOAddResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\SOAddResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
47
            new ClassMap('userRoleAdd', Type\UserRoleAdd::class),
48
            new ClassMap('userRoleAddResponse', Type\UserRoleAddResponse::class),
49
            new ClassMap('customerDelete', Type\CustomerDelete::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\CustomerDelete was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
50
            new ClassMap('customerDeleteResponse', Type\CustomerDeleteResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\CustomerDeleteResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
51
            new ClassMap('organizationPropertyModify', Type\OrganizationPropertyModify::class),
52
            new ClassMap('organizationPropertyModifyResponse', Type\OrganizationPropertyModifyResponse::class),
53
            new ClassMap('deviceList', Type\DeviceList::class),
54
            new ClassMap('deviceListResponse', Type\DeviceListResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\DeviceListResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
55
            new ClassMap('jobStatusList', Type\JobStatusList::class),
56
            new ClassMap('jobStatusListResponse', Type\JobStatusListResponse::class),
57
            new ClassMap('customerModify', Type\CustomerModify::class),
58
            new ClassMap('customerModifyResponse', Type\CustomerModifyResponse::class),
59
            new ClassMap('deviceAssetInfoExportDevice', Type\DeviceAssetInfoExportDevice::class),
60
            new ClassMap('deviceAssetInfoExportDeviceResponse', Type\DeviceAssetInfoExportDeviceResponse::class),
61
            new ClassMap('userRoleGet', Type\UserRoleGet::class),
62
            new ClassMap('userRoleGetResponse', Type\UserRoleGetResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\UserRoleGetResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
63
            new ClassMap('taskPauseMonitoring', Type\TaskPauseMonitoring::class),
64
            new ClassMap('taskPauseMonitoringResponse', Type\TaskPauseMonitoringResponse::class),
65
            new ClassMap('wrapperTaskMonitoring', Type\WrapperTaskMonitoring::class),
66
            new ClassMap('tEITaskFailed', Type\TEITaskFailed::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\TEITaskFailed was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
67
            new ClassMap('psaCredentialsValidate', Type\PsaCredentialsValidate::class),
68
            new ClassMap('psaCredentialsValidateResponse', Type\PsaCredentialsValidateResponse::class),
69
            new ClassMap('deviceGet', Type\DeviceGet::class),
70
            new ClassMap('deviceGetResponse', Type\DeviceGetResponse::class),
71
            new ClassMap('psaGetCustomTicket', Type\PsaGetCustomTicket::class),
72
            new ClassMap('psaGetCustomTicketResponse', Type\PsaGetCustomTicketResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Ty...GetCustomTicketResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
73
            new ClassMap('eiCustomPsaTicketDetails', Type\EiCustomPsaTicketDetails::class),
74
            new ClassMap('versionInfoGet', Type\VersionInfoGet::class),
75
            new ClassMap('eiCredentials', Type\EiCredentials::class),
76
            new ClassMap('versionInfoGetResponse', Type\VersionInfoGetResponse::class),
77
            new ClassMap('configValue', Type\ConfigValue::class),
78
            new ClassMap('acknowledgeNotification', Type\AcknowledgeNotification::class),
79
            new ClassMap('acknowledgeNotificationResponse', Type\AcknowledgeNotificationResponse::class),
80
            new ClassMap('userAdd', Type\UserAdd::class),
81
            new ClassMap('userAddResponse', Type\UserAddResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\UserAddResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
82
            new ClassMap('devicePropertyModify', Type\DevicePropertyModify::class),
83
            new ClassMap('deviceProperties', Type\DeviceProperties::class),
84
            new ClassMap('deviceProperty', Type\DeviceProperty::class),
85
            new ClassMap('devicePropertyModifyResponse', Type\DevicePropertyModifyResponse::class),
86
            new ClassMap('psaReopenCustomTicket', Type\PsaReopenCustomTicket::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\PsaReopenCustomTicket was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
87
            new ClassMap('psaReopenCustomTicketResponse', Type\PsaReopenCustomTicketResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Ty...penCustomTicketResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
88
            new ClassMap('taskResumeMonitoring', Type\TaskResumeMonitoring::class),
89
            new ClassMap('taskResumeMonitoringResponse', Type\TaskResumeMonitoringResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Ty...esumeMonitoringResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
90
            new ClassMap('customerListChildren', Type\CustomerListChildren::class),
91
            new ClassMap('customerListChildrenResponse', Type\CustomerListChildrenResponse::class),
92
            new ClassMap('accessGroupGet', Type\AccessGroupGet::class),
93
            new ClassMap('accessGroupGetResponse', Type\AccessGroupGetResponse::class),
94
            new ClassMap('deviceAssetInfoExportDeviceWithSettings', Type\DeviceAssetInfoExportDeviceWithSettings::class),
95
            new ClassMap('deviceAssetInfoExportDeviceWithSettingsResponse', Type\DeviceAssetInfoExportDeviceWithSettingsResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Ty...iceWithSettingsResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
96
            new ClassMap('devicePropertyList', Type\DevicePropertyList::class),
97
            new ClassMap('devicePropertyListResponse', Type\DevicePropertyListResponse::class),
98
            new ClassMap('customerList', Type\CustomerList::class),
99
            new ClassMap('customerListResponse', Type\CustomerListResponse::class),
0 ignored issues
show
Bug introduced by
The type Spinen\Nable\Ncentral\Type\CustomerListResponse was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
100
            new ClassMap('psaResolveCustomTicket', Type\PsaResolveCustomTicket::class),
101
            new ClassMap('psaResolveCustomTicketResponse', Type\PsaResolveCustomTicketResponse::class),
102
        ]);
103
    }
104
105
106
}
107
108