Dokan admin dashboard vendor profile re-design ( Base PR ) #5372
phpcs.yml
on: pull_request
Run PHPCS inspection
16s
Annotations
10 errors and 10 warnings
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L146
Opening parenthesis of a multi-line function call must be the last content on the line
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L141
Closing parenthesis of a multi-line function call must be on a line by itself
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L139
Opening parenthesis of a multi-line function call must be the last content on the line
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L138
Line indented incorrectly; expected 5 tabs, found 6
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L137
Closing parenthesis of a multi-line function call must be on a line by itself
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L132
Opening parenthesis of a multi-line function call must be the last content on the line
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L131
Line indented incorrectly; expected 5 tabs, found 6
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L125
Line indented incorrectly; expected 5 tabs, found 6
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L123
Line indented incorrectly; expected 5 tabs, found 6
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L118
Line indented incorrectly; expected 5 tabs, found 6
|
|
Run PHPCS inspection:
includes/Dashboard/Templates/Settings.php#L867
The method parameter $method is never used
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L386
Found precision alignment of 1 spaces.
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L81
Detected usage of meta_query, possible slow query.
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L55
Detected usage of meta_query, possible slow query.
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L174
Processing form data without nonce verification.
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L169
Processing form data without nonce verification.
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L140
urlencode() should only be used when dealing with legacy applications rawurlencode() should now be used instead. See https://www.php.net/function.rawurlencode and http://www.faqs.org/rfcs/rfc3986.html
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L130
Processing form data without nonce verification.
|
|
Run PHPCS inspection:
includes/Vendor/UserSwitch.php#L66
The method parameter $request is never used
|
|
Run PHPCS inspection:
includes/REST/StoreSettingController.php#L179
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
|