Skip to content

API Authentication, Refactor & Validation Helper 🎉 #325

API Authentication, Refactor & Validation Helper 🎉

API Authentication, Refactor & Validation Helper 🎉 #325

Triggered via pull request January 8, 2024 06:14
@shewa12shewa12
synchronize #640
rest-api
Status Failure
Total duration 40s
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: helpers/QueryHelper.php#L114
Use placeholders and $wpdb->prepare(); found interpolated variable $table at {$table}

WPCS: helpers/QueryHelper.php#L134
Missing @throws tag in function comment
WPCS: helpers/QueryHelper.php#L170
Use placeholders and $wpdb->prepare(); found $sql
WPCS: helpers/QueryHelper.php#L183
Parameter comment must end with a full stop
WPCS: helpers/QueryHelper.php#L201
Parameter comment must end with a full stop
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/