Skip to content

Github Action : WPCS Linting #2

Github Action : WPCS Linting

Github Action : WPCS Linting #2

Triggered via pull request March 1, 2024 09:44
Status Failure
Total duration 20s
Artifacts

wpcs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
WPCS: public/wp-content/themes/coloredcow/functions.php#L1
Missing file doc comment
WPCS: public/wp-content/themes/coloredcow/functions.php#L4
Missing doc comment for function cc_scripts()
WPCS: public/wp-content/themes/coloredcow/functions.php#L7
Opening parenthesis of a multi-line function call must be the last content on the line
WPCS: public/wp-content/themes/coloredcow/functions.php#L7
Only one argument is allowed per line in a multi-line function call
WPCS: public/wp-content/themes/coloredcow/functions.php#L7
Only one argument is allowed per line in a multi-line function call
WPCS: public/wp-content/themes/coloredcow/functions.php#L9
Closing parenthesis of a multi-line function call must be on a line by itself
WPCS: public/wp-content/themes/coloredcow/functions.php#L13
Missing doc comment for function cc_styles()
WPCS: public/wp-content/themes/coloredcow/functions.php#L17
Inline comments must end in full-stops, exclamation marks, or question marks
WPCS: public/wp-content/themes/coloredcow/functions.php#L20
Missing doc comment for function cc_theme_add_supports()
WPCS: public/wp-content/themes/coloredcow/functions.php#L29
Missing doc comment for function cc_theme_setup()
WPCS
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.