Skip to content

Add wp-cli integration #578

Add wp-cli integration

Add wp-cli integration #578

Triggered via pull request September 6, 2024 14:49
Status Failure
Total duration 18s
Artifacts

phpcs.yml

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

Annotations

5 errors and 3 warnings
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#L42
null coalescing operator (??) is not present in PHP version 5.6 or earlier
PHP Code Standards: wp-cli/class-theme-check-cli.php#L126
Doc comment for parameter "$slug" missing
PHP Code Standards: wp-cli/class-theme-check-cli.php#L159
Doc comment for parameter "$slug" missing
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#L110
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.