Skip to content

Fix: Uninstall distributor #1365

Fix: Uninstall distributor

Fix: Uninstall distributor #1365

Triggered via pull request September 6, 2024 13:57
@faisal-alvifaisal-alvi
synchronize #540
fix/349
Status Failure
Total duration 38s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
phpcs
Process completed with exit code 2.
phpcs: uninstall.php#L7
There must be exactly one blank line after the file comment
phpcs: uninstall.php#L41
Use placeholders and $wpdb->prepare(); found interpolated variable $ids_string at "DELETE FROM $wpdb->postmeta WHERE post_id IN ($ids_string)"
phpcs: uninstall.php#L47
Use placeholders and $wpdb->prepare(); found interpolated variable $ids_string at "DELETE FROM $wpdb->posts WHERE ID IN ($ids_string)"
phpcs: uninstall.php#L74
String "option_name LIKE %s" does not require double quotes; use single quotes instead
phpcs: uninstall.php#L79
Use placeholders and $wpdb->prepare(); found $where_clause
phpcs: uninstall.php#L81
Opening parenthesis of a multi-line function call must be the last content on the line
phpcs: uninstall.php#L83
Only one argument is allowed per line in a multi-line function call
phpcs: uninstall.php#L83
Closing parenthesis of a multi-line function call must be on a line by itself
phpcs: uninstall.php#L87
Use placeholders and $wpdb->prepare(); found $query
phpcs: uninstall.php#L95
Use placeholders and $wpdb->prepare(); found interpolated variable $ids_string at "DELETE FROM $wpdb->options WHERE option_id IN ($ids_string)"
phpcs: uninstall.php#L29
Usage of a direct database call is discouraged.
phpcs: uninstall.php#L29
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
phpcs: uninstall.php#L40
Usage of a direct database call is discouraged.
phpcs: uninstall.php#L40
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
phpcs: uninstall.php#L45
Usage of a direct database call is discouraged.
phpcs: uninstall.php#L45
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
phpcs: uninstall.php#L76
Incorrect number of replacements passed to $wpdb->prepare(). Found 1 replacement parameters, expected 0.
phpcs: uninstall.php#L87
Usage of a direct database call is discouraged.
phpcs: uninstall.php#L87
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
phpcs: uninstall.php#L93
Usage of a direct database call is discouraged.
eslint
The following actions uses node12 which is deprecated and will be forced to run on node16: ataylorme/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
eslint
The following actions use a deprecated Node.js version and will be forced to run on node20: ataylorme/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/