2.5.0 Magento Plugin Update Add New Endpoints #29
Annotations
10 errors and 10 warnings
M2 Coding Standard:
Api/Controller/Diagnostics/Version.php#L24
PHP syntax error: syntax error, unexpected ')', expecting variable (T_VARIABLE)
|
M2 Coding Standard:
Api/Controller/BaseControllerTrait.php#L12
PHP syntax error: syntax error, unexpected 'JsonFactory' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
|
M2 Coding Standard:
Api/Controller/InventoryFetch/Index.php#L21
PHP syntax error: syntax error, unexpected 'GetSourceItemsBySkuInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
|
M2 Coding Standard:
Api/Controller/ShipmentNotification/Index.php#L29
PHP syntax error: syntax error, unexpected 'COMMENT' (T_STRING), expecting '='
|
M2 Coding Standard:
Api/Controller/InventoryPush/Index.php#L28
PHP syntax error: syntax error, unexpected 'GetSourceItemsBySkuInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
|
M2 Coding Standard:
Api/Controller/BaseAuthorizedControllerTrait.php#L10
PHP syntax error: syntax error, unexpected 'AuthorizationInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
|
M2 Coding Standard:
Api/Controller/SalesOrdersExport/Index.php#L30
PHP syntax error: syntax error, unexpected 'OrderRepositoryInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
|
M2 Coding Standard:
Api/Model/Authorization.php#L12
PHP syntax error: syntax error, unexpected 'ScopeConfigInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
|
M2 Coding Standard:
Api/Model/OrderSourceAPI/Responses/RegisterDeliveryOptionsResponse.php#L8
PHP syntax error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
|
M2 Coding Standard:
Api/Model/OrderSourceAPI/Responses/GetProductsResponse.php#L10
PHP syntax error: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
|
M2 Coding Standard:
Api/Controller/Adminhtml/ApiKey/Index.php#L11
There must be one blank line after the last USE statement; 2 found;
|
M2 Coding Standard:
Api/Controller/Adminhtml/ApiKey/Index.php#L16
Tag @Package MUST NOT be used.
|
M2 Coding Standard:
Api/Controller/Adminhtml/ApiKey/Index.php#L18
Class description should contain additional information beyond the name already supplies.
|
M2 Coding Standard:
Api/Controller/Adminhtml/ApiKey/Index.php#L28
Code must not contain multiple empty lines in a row; found 2 empty lines.
|
M2 Coding Standard:
Api/Controller/Adminhtml/ApiKey/Index.php#L41
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
|
M2 Coding Standard:
Api/Controller/ShipmentNotification/Index.php#L29
Class constants must be uppercase; expected STRING but found string
|
M2 Coding Standard:
Api/Controller/Auctane/Index.php#L25
There must be one blank line after the last USE statement; 2 found;
|
M2 Coding Standard:
Api/Controller/Auctane/Index.php#L30
Tag @Package MUST NOT be used.
|
M2 Coding Standard:
Api/Controller/Auctane/Index.php#L32
Class description should contain additional information beyond the name already supplies.
|
M2 Coding Standard:
Api/Controller/Auctane/Index.php#L44
Code must not contain multiple empty lines in a row; found 2 empty lines.
|