Skip to content

2.5.0 Magento Plugin Update Add New Endpoints #29

2.5.0 Magento Plugin Update Add New Endpoints

2.5.0 Magento Plugin Update Add New Endpoints #29

Triggered via pull request October 2, 2024 20:20
Status Failure
Total duration 16s
Artifacts

test.yml

on: pull_request
M2 Coding Standard
7s
M2 Coding Standard
Fit to window
Zoom out
Zoom in

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#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#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.