Skip to content

πŸ”Ž feat: Admin dashboard withdraw advanced filtering with log exporting #2356

πŸ”Ž feat: Admin dashboard withdraw advanced filtering with log exporting

πŸ”Ž feat: Admin dashboard withdraw advanced filtering with log exporting #2356

Triggered via pull request July 17, 2023 05:43
Status Failure
Total duration 33s
Artifacts

phpcs.yml

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

Annotations

7 errors and 13 warnings
Run PHPCS inspection: includes/Withdraw/Withdraws.php#L135
Expected 1 space after "&&"; 2 found
Run PHPCS inspection: includes/Withdraw/Withdraws.php#L150
Expected 1 space after "&&"; 2 found
Run PHPCS inspection: includes/Withdraw/Withdraws.php#L150
Expected 1 space before "!"; 2 found
Run PHPCS inspection: includes/Withdraw/Hooks.php#L39
Detected usage of a non-sanitized input variable: $_GET['download-withdraw-log-csv']
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/Withdraw/Hooks.php#L43
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/Withdraw/Hooks.php#L146
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/Withdraw/Hooks.php#L219
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/Withdraw/Manager.php#L94
Found unknown capability "manage_woocommerce" in function call to 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/WithdrawController.php#L147
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/REST/WithdrawController.php#L160
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/REST/WithdrawController.php#L182
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/REST/WithdrawController.php#L182
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/REST/WithdrawController.php#L206
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/REST/WithdrawController.php#L217
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.