Skip to content

Removed unused codes #1772

Removed unused codes

Removed unused codes #1772

Triggered via pull request October 18, 2024 05:00
Status Failure
Total duration 31s
Artifacts

wpcs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
WPCS: includes/tutor-general-functions.php#L27
Doc comment for parameter "$input" missing
WPCS: includes/tutor-general-functions.php#L27
Doc comment for parameter "$type" missing
WPCS: includes/tutor-general-functions.php#L32
Missing parameter comment
WPCS: includes/tutor-general-functions.php#L32
Doc comment for parameter $input. does not match actual variable name $input
WPCS: includes/tutor-general-functions.php#L33
Missing parameter comment
WPCS: includes/tutor-general-functions.php#L33
Doc comment for parameter $type. does not match actual variable name $type
WPCS: includes/tutor-general-functions.php#L81
Missing doc comment for function tutor_placeholder_img_src()
WPCS: includes/tutor-general-functions.php#L87
Missing short description in doc comment
WPCS: includes/tutor-general-functions.php#L96
Missing doc comment for function tutor_course_categories_dropdown()
WPCS: includes/tutor-general-functions.php#L115
extract() usage is highly discouraged, due to the complexity and unintended issues it might cause.
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
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/