Skip to content

enhance: Implement vendor default banner, profile image & controls. #2943

enhance: Implement vendor default banner, profile image & controls.

enhance: Implement vendor default banner, profile image & controls. #2943

Triggered via pull request May 23, 2024 07:29
Status Failure
Total duration 30s
Artifacts

phpcs.yml

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

Annotations

7 errors and 11 warnings
Run PHPCS inspection: templates/store-lists-loop.php#L59
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
Run PHPCS inspection: includes/Dashboard/Templates/Settings.php#L566
Detected usage of a non-sanitized input variable: $_POST['opening_time'][$day_key]
Run PHPCS inspection: includes/Dashboard/Templates/Settings.php#L567
Detected usage of a non-sanitized input variable: $_POST['closing_time'][$day_key]
Run PHPCS inspection: includes/Dashboard/Templates/Settings.php#L612
Detected usage of a non-sanitized input variable: $_POST['dokan_address']
Run PHPCS inspection: includes/Dashboard/Templates/Settings.php#L616
Detected usage of a non-sanitized input variable: $_POST['setting_phone']
Run PHPCS inspection: includes/Dashboard/Templates/Settings.php#L636
Detected usage of a non-sanitized input variable: $_POST['settings']['bank']
Run PHPCS inspection
Process completed with exit code 1.
Run PHPCS inspection
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/Dashboard/Templates/Settings.php#L134
Found unknown capability "dokan_view_store_settings_menu" 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/Dashboard/Templates/Settings.php#L320
Found unknown capability "dokan_view_store_social_menu" 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/Dashboard/Templates/Settings.php#L332
Found unknown capability "dokan_view_store_settings_menu" 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/Dashboard/Templates/Settings.php#L344
Found unknown capability "dokan_view_store_payment_menu" 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/Dashboard/Templates/Settings.php#L824
The method parameter $method is never used
Run PHPCS inspection: includes/Admin/Settings.php#L93
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/Settings.php#L119
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.