Skip to content

2.5.0 Magento Plugin Update Add New Endpoints #30

2.5.0 Magento Plugin Update Add New Endpoints

2.5.0 Magento Plugin Update Add New Endpoints #30

Triggered via pull request October 10, 2024 20:25
Status Failure
Total duration 21s
Artifacts

test.yml

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

Annotations

10 errors and 10 warnings
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/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/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/Requests/InventoryFetchRequest.php#L13
PHP syntax error: syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST)
M2 Coding Standard: Api/Model/OrderSourceAPI/Requests/SalesOrdersExportRequest.php#L12
PHP syntax error: syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST)
M2 Coding Standard: Api/Model/OrderSourceAPI/Requests/RequestBase.php#L10
PHP syntax error: syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST)
M2 Coding Standard: Api/Controller/Auctane/Index.php#L39
Code must not contain multiple empty lines in a row; found 2 empty lines.
M2 Coding Standard: Api/Controller/Adminhtml/ApiKey/Index.php#L23
Code must not contain multiple empty lines in a row; found 2 empty lines.
M2 Coding Standard: Api/Controller/ShipmentNotification/Index.php#L29
Class constants must be uppercase; expected STRING but found string
M2 Coding Standard: Api/Request/Authenticator.php#L26
Code must not contain multiple empty lines in a row; found 2 empty lines.
M2 Coding Standard: Api/Request/Authenticator.php#L70
Empty CATCH statement detected
M2 Coding Standard: Api/Request/Authenticator.php#L91
The use of function is_null() is discouraged; use strict comparison "=== null"() instead
M2 Coding Standard: Api/Request/Authenticator.php#L92
Line exceeds 120 characters; contains 128 characters
M2 Coding Standard: Api/Request/Authenticator.php#L94
Line exceeds 120 characters; contains 149 characters
M2 Coding Standard: Api/Request/Authenticator.php#L95
Line exceeds 120 characters; contains 153 characters
M2 Coding Standard: Api/Request/Authenticator.php#L102
The use of function is_null() is discouraged; use strict comparison "=== null"() instead