-
Notifications
You must be signed in to change notification settings - Fork 8
/
architecture-baseline.json
184 lines (184 loc) · 10.9 KB
/
architecture-baseline.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
[
{
"fileName": "src/Spryker/Zed/Oms/Business/OmsFacade.php",
"description": "Zed Business Layer - Facade: The method `Spryker\\Zed\\Oms\\Business\\OmsFacade::getOmsReservedProductQuantityForSku()()` is using an invalid return type `\\Spryker\\DecimalObject\\Decimal` which violates the rule \"Every Facade should only return native types or transfer objects.\"",
"rule": "FacadeReturnValueRule",
"ruleset": "Spryker Zed",
"priority": "1"
},
{
"fileName": "src/Spryker/Zed/Oms/Business/OmsFacade.php",
"description": "Zed Business Layer - Facade: The method `Spryker\\Zed\\Oms\\Business\\OmsFacade::getOmsReservedProductQuantityForSkus()()` is using an invalid return type `\\Spryker\\DecimalObject\\Decimal` which violates the rule \"Every Facade should only return native types or transfer objects.\"",
"rule": "FacadeReturnValueRule",
"ruleset": "Spryker Zed",
"priority": "1"
},
{
"fileName": "src/Spryker/Zed/Oms/Business/OmsFacade.php",
"description": "Zed Business Layer - Facade: The method `Spryker\\Zed\\Oms\\Business\\OmsFacade::getProcessEntity()()` is using an invalid return type `\\Orm\\Zed\\Oms\\Persistence\\SpyOmsOrderProcess` which violates the rule \"Every Facade should only return native types or transfer objects.\"",
"rule": "FacadeReturnValueRule",
"ruleset": "Spryker Zed",
"priority": "1"
},
{
"fileName": "src/Spryker/Zed/Oms/Business/OmsFacade.php",
"description": "Zed Business Layer - Facade: The method `Spryker\\Zed\\Oms\\Business\\OmsFacade::getInitialStateEntity()()` is using an invalid return type `\\Orm\\Zed\\Oms\\Persistence\\SpyOmsOrderItemState` which violates the rule \"Every Facade should only return native types or transfer objects.\"",
"rule": "FacadeReturnValueRule",
"ruleset": "Spryker Zed",
"priority": "1"
},
{
"fileName": "src/Spryker/Zed/Oms/Business/OmsFacade.php",
"description": "Zed Business Layer - Facade: The method `Spryker\\Zed\\Oms\\Business\\OmsFacade::getReservationsFromOtherStores()()` is using an invalid return type `\\Spryker\\DecimalObject\\Decimal` which violates the rule \"Every Facade should only return native types or transfer objects.\"",
"rule": "FacadeReturnValueRule",
"ruleset": "Spryker Zed",
"priority": "1"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToMailInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `handleMail()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToSalesBridge.php",
"description": "Bridges: Type should be defined for param `idSalesOrder` in method `Spryker\\Zed\\Oms\\Dependency\\Facade\\OmsToSalesBridge::getOrderByIdSalesOrder()`.",
"rule": "BridgeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToSalesBridge.php",
"description": "Bridges: Method `getOrderByIdSalesOrder()` must have `public function get<DomainEntity>Collection(<DomainEntity>CriteriaTransfer): <DomainEntity>CollectionTransfer` signature.",
"rule": "BridgeFacadeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToSalesInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `getOrderByIdSalesOrder()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToStoreFacadeBridge.php",
"description": "Bridges: Method `getCurrentStore()` must have `public function get<DomainEntity>Collection(<DomainEntity>CriteriaTransfer): <DomainEntity>CollectionTransfer` signature.",
"rule": "BridgeFacadeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToStoreFacadeBridge.php",
"description": "Bridges: Type should be defined for param `storeName` in method `Spryker\\Zed\\Oms\\Dependency\\Facade\\OmsToStoreFacadeBridge::getStoreByName()`.",
"rule": "BridgeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToStoreFacadeBridge.php",
"description": "Bridges: Method `getStoreByName()` must have `public function get<DomainEntity>Collection(<DomainEntity>CriteriaTransfer): <DomainEntity>CollectionTransfer` signature.",
"rule": "BridgeFacadeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToStoreFacadeBridge.php",
"description": "Bridges: Method `getAllStores()` must have `public function get<DomainEntity>Collection(<DomainEntity>CriteriaTransfer): <DomainEntity>CollectionTransfer` signature.",
"rule": "BridgeFacadeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToStoreFacadeInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `getCurrentStore()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Facade/OmsToStoreFacadeInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `getStoreByName()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/QueryContainer/OmsToSalesBridge.php",
"description": "Bridges: Type should be defined for param `idOrder` in method `Spryker\\Zed\\Oms\\Dependency\\QueryContainer\\OmsToSalesBridge::querySalesOrderItemsByIdSalesOrder()`.",
"rule": "BridgeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/QueryContainer/OmsToSalesInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `querySalesOrderItem()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/QueryContainer/OmsToSalesInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `querySalesOrder()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/QueryContainer/OmsToSalesInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `querySalesOrderItemsByIdSalesOrder()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Service/OmsToUtilNetworkInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `getHostName()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Service/OmsToUtilSanitizeBridge.php",
"description": "Bridges: Type should be defined for param `text` in method `Spryker\\Zed\\Oms\\Dependency\\Service\\OmsToUtilSanitizeBridge::escapeHtml()`.",
"rule": "BridgeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Service/OmsToUtilSanitizeBridge.php",
"description": "Bridges: Type should be defined for param `double` in method `Spryker\\Zed\\Oms\\Dependency\\Service\\OmsToUtilSanitizeBridge::escapeHtml()`.",
"rule": "BridgeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Service/OmsToUtilSanitizeBridge.php",
"description": "Bridges: Type should be defined for param `charset` in method `Spryker\\Zed\\Oms\\Dependency\\Service\\OmsToUtilSanitizeBridge::escapeHtml()`.",
"rule": "BridgeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Service/OmsToUtilSanitizeInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `escapeHtml()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Service/OmsToUtilTextBridge.php",
"description": "Bridges: Type should be defined for param `length` in method `Spryker\\Zed\\Oms\\Dependency\\Service\\OmsToUtilTextBridge::generateRandomString()`.",
"rule": "BridgeMethodsRule",
"ruleset": "Spryker",
"priority": "2"
},
{
"fileName": "src/Spryker/Zed/Oms/Dependency/Service/OmsToUtilTextInterface.php",
"description": "Bridges: The bridge interface has incorrect method signature for `generateRandomString()`. Missed return type. That violates the rule \"All bridge interface methods must have exactly the same or more strict signature as their parent\"",
"rule": "BridgeMethodsInterfaceRule",
"ruleset": "Spryker",
"priority": "2"
}
]