Fix/add data removing option #1467
phpcs.yml
on: pull_request
Run PHPCS inspection
17s
Annotations
10 errors and 12 warnings
|
Run PHPCS inspection:
admin/class-admin-settings.php#L99
Expected 1 spaces before closing parenthesis; 0 found
|
|
Run PHPCS inspection:
admin/class-admin-settings.php#L99
Expected 1 spaces after opening parenthesis; 0 found
|
|
Run PHPCS inspection:
admin/class-admin-settings.php#L99
Expected 1 spaces before closing parenthesis; 0 found
|
|
Run PHPCS inspection:
admin/class-admin-settings.php#L99
Expected 1 spaces after opening parenthesis; 0 found
|
|
Run PHPCS inspection:
admin/class-admin-settings.php#L99
Expected 1 spaces after opening parenthesis; 0 found
|
|
Run PHPCS inspection:
admin/class-tools.php#L291
Array keys must be surrounded by spaces unless they contain a string or an integer.
|
|
Run PHPCS inspection:
admin/class-tools.php#L288
There should be no space between the array opener and closer for an empty array. Found: 1 space
|
|
Run PHPCS inspection:
admin/class-tools.php#L247
Expected 1 space after "!"; 0 found
|
|
Run PHPCS inspection:
admin/class-tools.php#L238
Expected 1 space after "!"; 0 found
|
|
Run PHPCS inspection:
admin/class-tools.php#L235
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
|
|
Run PHPCS inspection:
admin/class-admin-settings.php#L280
Processing form data without nonce verification.
|
|
Run PHPCS inspection:
admin/class-admin-settings.php#L142
This comment is 62% valid code; is this commented out code?
|
|
Run PHPCS inspection:
admin/class-admin-settings.php#L97
base64_encode() can be used to obfuscate code which is strongly discouraged. Please verify that the function is used for benign reasons.
|
|
Run PHPCS inspection:
admin/class-admin-settings.php#L22
Property name "$_instance" should not be prefixed with an underscore to indicate visibility
|
|
Run PHPCS inspection:
admin/class-tools.php#L298
Processing form data without nonce verification.
|
|
Run PHPCS inspection:
admin/class-tools.php#L298
Processing form data without nonce verification.
|
|
Run PHPCS inspection:
admin/class-tools.php#L287
It is recommended not to use reserved keyword "array" as function parameter name. Found: $array
|
|
Run PHPCS inspection:
admin/class-tools.php#L268
json_encode() is discouraged. Use wp_json_encode() instead.
|
|
Run PHPCS inspection:
admin/class-tools.php#L213
Usage of ELSE IF is discouraged; use ELSEIF instead
|
|
Run PHPCS inspection:
admin/class-tools.php#L169
file_get_contents() is discouraged. Use wp_remote_get() for remote URLs instead.
|
|
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 `save-state` 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/
|