Skip to content

refactor: isAiFeatureActive #19094

refactor: isAiFeatureActive

refactor: isAiFeatureActive #19094

Triggered via push October 7, 2024 10:16
Status Failure
Total duration 1m 3s
Artifacts

cs.yml

on: push
Check code style
54s
Check code style
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
Check code style
Process completed with exit code 2.
Check code style: src/actions/indexing/indexable-term-indexation-action.php#L140
Use placeholders and $wpdb->prepare(); found interpolated variable {$taxonomy_table} at FROM {$taxonomy_table} AS T
Check code style: src/actions/indexing/indexable-term-indexation-action.php#L141
Use placeholders and $wpdb->prepare(); found interpolated variable $indexable_table at LEFT JOIN $indexable_table AS I
Check code style: src/actions/indexing/indexable-term-indexation-action.php#L146
Use placeholders and $wpdb->prepare(); found interpolated variable $taxonomies_placeholders at AND taxonomy IN ($taxonomies_placeholders)"
Check code style: src/actions/indexing/indexable-term-indexation-action.php#L177
Use placeholders and $wpdb->prepare(); found interpolated variable {$taxonomy_table} at FROM {$taxonomy_table} AS T
Check code style: src/actions/indexing/indexable-term-indexation-action.php#L178
Use placeholders and $wpdb->prepare(); found interpolated variable $indexable_table at LEFT JOIN $indexable_table AS I
Check code style: src/actions/indexing/indexable-term-indexation-action.php#L183
Use placeholders and $wpdb->prepare(); found interpolated variable $placeholders at AND taxonomy IN ($placeholders)
Check code style: src/actions/indexing/indexable-term-indexation-action.php#L184
Use placeholders and $wpdb->prepare(); found interpolated variable $limit_query at $limit_query"
Check code style: src/surfaces/helpers-surface.php#L106
Usage of "mixed" type hint is disallowed.
Check code style: src/surfaces/helpers-surface.php#L128
Usage of "mixed" type hint is disallowed.
Check code style: src/surfaces/helpers-surface.php#L135
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$name'.
Check code style
Process completed with exit code 2.
Check code style: src/surfaces/helpers-surface.php#L134
Unused function parameter $value.
Check code style: src/actions/indexing/term-link-indexing-action.php#L90
Replacement variables found, but no valid placeholders found in the query.
Check code style: wp-seo-main.php#L183
Use of a direct database call is discouraged.
Check code style: wp-seo-main.php#L183
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Check code style: wp-seo-main.php#L581
Processing form data without nonce verification.
Check code style: config/dependency-injection/deprecated-classes.php#L60
Unused function parameter $file.
Check code style: config/dependency-injection/deprecated-classes.php#L60
Unused function parameter $version.
Check code style: config/dependency-injection/deprecated-classes.php#L60
Unused function parameter $replacement.
Check code style: config/dependency-injection/deprecated-classes.php#L60
Unused function parameter $message.