Restyle the Vendor order details panel — items, totals, refund and shipments #7250
phpcs.yml
on: pull_request
Run PHPCS inspection
13m 38s
Annotations
1 error and 6 warnings
|
Run PHPCS inspection
Process completed with exit code 1.
|
|
Run PHPCS inspection
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run PHPCS inspection:
includes/REST/OrderController.php#L1173
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
|
|
Run PHPCS inspection:
includes/REST/OrderController.php#L823
Found unknown capability "shop_manager" in function call to current_user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap().
Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
|
|
Run PHPCS inspection:
includes/REST/OrderController.php#L444
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
|
|
Run PHPCS inspection:
includes/REST/OrderController.php#L377
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
|
|
Run PHPCS inspection:
includes/REST/OrderController.php#L274
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
|