Admin dashboard vendor list react #5342
phpcs.yml
on: pull_request
Run PHPCS inspection
23s
Annotations
7 errors and 2 warnings
|
Run PHPCS inspection
Process completed with exit code 1.
|
|
Run PHPCS inspection:
includes/Admin/Dashboard/Dashboard.php#L524
Overriding WordPress globals is prohibited. Found assignment to $submenu
|
|
Run PHPCS inspection:
includes/Admin/Dashboard/Dashboard.php#L520
Overriding WordPress globals is prohibited. Found assignment to $submenu
|
|
Run PHPCS inspection:
includes/REST/Manager.php#L192
Line indented incorrectly; expected at least 2 tabs, found 0
|
|
Run PHPCS inspection:
includes/REST/Manager.php#L191
Line indented incorrectly; expected at least 2 tabs, found 0
|
|
Run PHPCS inspection:
includes/REST/Manager.php#L190
Line indented incorrectly; expected at least 2 tabs, found 0
|
|
Run PHPCS inspection:
includes/REST/Manager.php#L189
Line indented incorrectly; expected at least 2 tabs, found 0
|
|
Run PHPCS inspection:
includes/REST/WithdrawExportController.php#L200
Found unknown capability "dokan_view_reports" 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/ExportController.php#L69
Found unknown capability "dokan_view_reports" 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.
|