Skip to content

update: shipping tax fee recipient setting added in admin setup wizard #2443

update: shipping tax fee recipient setting added in admin setup wizard

update: shipping tax fee recipient setting added in admin setup wizard #2443

Triggered via pull request August 22, 2023 09:52
Status Failure
Total duration 46s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

phpcs.yml

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

Annotations

2 errors and 6 warnings
Run PHPCS inspection: templates/admin-setup-wizard/step-store.php#L89
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
Run PHPCS inspection
Process completed with exit code 1.
Run PHPCS inspection
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run PHPCS inspection
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run PHPCS inspection
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run PHPCS inspection: includes/Admin/SetupWizard.php#L33
Found unknown capability "manage_woocommerce" 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/Admin/SetupWizard.php#L132
Found unknown capability "manage_woocommerce" in function call to add_submenu_page(). 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/Admin/SetupWizard.php#L207
Found unknown capability "manage_woocommerce" 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.