Skip to content

Enhance/product category rest api #3802

Enhance/product category rest api

Enhance/product category rest api #3802

Triggered via pull request January 30, 2025 08:40
Status Failure
Total duration 20s
Artifacts

phpcs.yml

on: pull_request
Run PHPCS inspection
12s
Run PHPCS inspection
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L31
Expected 1 spaces after opening parenthesis; 0 found
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L31
Expected 1 spaces before closing parenthesis; 0 found
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L38
Expected 1 spaces after opening parenthesis; 0 found
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L38
Expected 1 spaces before closing parenthesis; 0 found
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L46
Expected 1 spaces after opening parenthesis; 0 found
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L46
Expected 1 spaces before closing parenthesis; 0 found
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L47
Opening brace should be on the same line as the declaration
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L56
Expected 1 spaces after opening parenthesis; 0 found
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L56
Expected 1 spaces before closing parenthesis; 0 found
Run PHPCS inspection: includes/REST/VendorProductCategoriesController.php#L66
Expected 1 spaces after opening parenthesis; 0 found
Run PHPCS inspection: includes/REST/Manager.php#L77
The method parameter $object is never used
Run PHPCS inspection: includes/REST/Manager.php#L77
The method parameter $request is never used
Run PHPCS inspection: includes/REST/Manager.php#L77
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
Run PHPCS inspection: includes/REST/Manager.php#L139
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object