Skip to content

Feature: Withdraw charges #2382

Feature: Withdraw charges

Feature: Withdraw charges #2382

Triggered via pull request July 26, 2023 08:32
Status Failure
Total duration 26s
Artifacts

phpcs.yml

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

Annotations

3 errors and 13 warnings
Run PHPCS inspection: includes/Withdraw/functions.php#L116
Expected 1 space after "?"; 2 found
Run PHPCS inspection: includes/Withdraw/functions.php#L316
The $text text string should have translatable content. Found: ''
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/Dashboard/Templates/Withdraw.php#L37
Found unknown capability "dokan_manage_withdraw" 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/Withdraw.php#L120
Found unknown capability "dokan_manage_withdraw" 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/Withdraw.php#L313
Found unknown capability "dokan_manage_withdraw" 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/Withdraw.php#L377
Found unknown capability "dokan_manage_withdraw" 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/Withdraw.php#L403
Found unknown capability "dokan_manage_withdraw" 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/Withdraw.php#L521
Found unknown capability "dokan_manage_withdraw" 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/Withdraw.php#L549
Found unknown capability "dokan_view_withdraw_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/Withdraw.php#L567
The method parameter $request is never used
Run PHPCS inspection: includes/Dashboard/Templates/Withdraw.php#L567
The method parameter $active 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.