Skip to content

Add wp-cli integration #587

Add wp-cli integration

Add wp-cli integration #587

Triggered via pull request September 9, 2024 16:25
Status Failure
Total duration 19s
Artifacts

phpcs.yml

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

Annotations

10 errors and 8 warnings
PHP Code Standards: wp-cli/class-theme-check-cli.php#L32
Spaces must be used for mid-line alignment; tabs are not allowed
PHP Code Standards: wp-cli/class-theme-check-cli.php#L34
Whitespace found at end of line
PHP Code Standards: wp-cli/class-theme-check-cli.php#L37
Whitespace found at end of line
PHP Code Standards: wp-cli/class-theme-check-cli.php#L40
Whitespace found at end of line
PHP Code Standards: wp-cli/class-theme-check-cli.php#L111
Opening parenthesis of a multi-line function call must be the last content on the line
PHP Code Standards: wp-cli/class-theme-check-cli.php#L111
No space after opening parenthesis is prohibited
PHP Code Standards: wp-cli/class-theme-check-cli.php#L111
Expected 1 spaces after opening parenthesis; 0 found
PHP Code Standards: wp-cli/class-theme-check-cli.php#L111
No space before closing parenthesis is prohibited
PHP Code Standards: wp-cli/class-theme-check-cli.php#L113
Only one argument is allowed per line in a multi-line function call
PHP Code Standards: wp-cli/class-theme-check-cli.php#L113
Closing parenthesis of a multi-line function call must be on a line by itself
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#L61
Array double arrow not aligned correctly; expected 4 space(s) between "'result'" and double arrow, but found 10.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L62
Array double arrow not aligned correctly; expected 2 space(s) between "'messages'" and double arrow, but found 8.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L77
Array double arrow not aligned correctly; expected 4 space(s) between "'result'" and double arrow, but found 10.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L78
Array double arrow not aligned correctly; expected 2 space(s) between "'messages'" and double arrow, but found 8.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L151
Array double arrow not aligned correctly; expected 4 space(s) between "'result'" and double arrow, but found 10.
PHP Code Standards: wp-cli/class-theme-check-cli.php#L152
Array double arrow not aligned correctly; expected 2 space(s) between "'messages'" and double arrow, but found 8.