Skip to content

Add wp-cli integration #577

Add wp-cli integration

Add wp-cli integration #577

Triggered via pull request September 6, 2024 14:44
Status Failure
Total duration 1m 13s
Artifacts

phpcs.yml

on: pull_request
PHP Code Standards
14s
PHP Code Standards
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
PHP Code Standards: wp-cli/class-theme-check-cli.php#L4
Tabs must be used to indent lines; spaces are not allowed
PHP Code Standards: wp-cli/class-theme-check-cli.php#L4
Expected 1 spaces after opening parenthesis; 0 found
PHP Code Standards: wp-cli/class-theme-check-cli.php#L4
Expected 1 spaces before closing parenthesis; 0 found
PHP Code Standards: wp-cli/class-theme-check-cli.php#L5
Tabs must be used to indent lines; spaces are not allowed
PHP Code Standards: wp-cli/class-theme-check-cli.php#L6
Tabs must be used to indent lines; spaces are not allowed
PHP Code Standards: wp-cli/class-theme-check-cli.php#L7
Tabs must be used to indent lines; spaces are not allowed
PHP Code Standards: wp-cli/class-theme-check-cli.php#L11
Tabs must be used to indent lines; spaces are not allowed
PHP Code Standards: wp-cli/class-theme-check-cli.php#L11
Doc comment for parameter "$args" missing
PHP Code Standards: wp-cli/class-theme-check-cli.php#L11
Doc comment for parameter "$assoc_args" missing
PHP Code Standards: wp-cli/class-theme-check-cli.php#L12
Tabs must be used to indent lines; spaces are not allowed
PHP Code Standards
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/
PHP Code Standards
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/
PHP Code Standards: wp-cli/class-theme-check-cli.php#L39
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
PHP Code Standards: wp-cli/class-theme-check-cli.php#L52
Array double arrow not aligned correctly; expected 10 space(s) between "'result'" and double arrow, but found 1.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L53
Array double arrow not aligned correctly; expected 8 space(s) between "'messages'" and double arrow, but found 1.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L69
Array double arrow not aligned correctly; expected 10 space(s) between "'result'" and double arrow, but found 1.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L70
Array double arrow not aligned correctly; expected 8 space(s) between "'messages'" and double arrow, but found 1.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L92
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
PHP Code Standards: wp-cli/class-theme-check-cli.php#L94
Array double arrow not aligned correctly; expected 3 space(s) between "'errors'" and double arrow, but found 1.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L96
Array double arrow not aligned correctly; expected 4 space(s) between "'infos'" and double arrow, but found 1.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L97
Array double arrow not aligned correctly; expected 3 space(s) between "'others'" and double arrow, but found 1.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L111
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.