Skip to content

Enhance/product category rest api #3765

Enhance/product category rest api

Enhance/product category rest api #3765

Triggered via pull request January 24, 2025 09:36
Status Failure
Total duration 22s
Artifacts

phpcs.yml

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

Annotations

2 errors and 5 warnings
Run PHPCS inspection: tests/php/src/ProductCategory/ProductCategoryApiTest.php#L97
Function closing brace must go on the next line following the body; found 1 blank lines before brace
Run PHPCS inspection
Process completed with exit code 1.
Run PHPCS inspection
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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