Skip to content

API Authentication, Refactor & Validation Helper 🎉 #333

API Authentication, Refactor & Validation Helper 🎉

API Authentication, Refactor & Validation Helper 🎉 #333

Triggered via pull request January 8, 2024 08:50
@harunollyoharunollyo
synchronize #640
rest-api
Status Failure
Total duration 29s
Artifacts

wpcs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
WPCS: classes/Quiz.php#L198
Tabs must be used to indent lines; spaces are not allowed
WPCS: classes/Quiz.php#L199
Tabs must be used to indent lines; spaces are not allowed
WPCS: classes/Quiz.php#L200
Tabs must be used to indent lines; spaces are not allowed
WPCS: classes/Quiz.php#L201
Tabs must be used to indent lines; spaces are not allowed
WPCS: classes/Quiz.php#L202
Tabs must be used to indent lines; spaces are not allowed
WPCS: classes/Utils.php#L790
Use placeholders and $wpdb->prepare(); found interpolated variable $in_ids at AND meta_key IN ('{$in_ids}')

WPCS: classes/Utils.php#L883
Use placeholders and $wpdb->prepare(); found interpolated variable $assignment_ids_str at AND comment_post_ID IN({$assignment_ids_str});

WPCS: classes/Utils.php#L1254
Assignments must be the first block of code on a line
WPCS: classes/Utils.php#L1432
Use placeholders and $wpdb->prepare(); found $post_type
WPCS: classes/Utils.php#L1432
Use placeholders and $wpdb->prepare(); found ?
WPCS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
WPCS
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/