Skip to content

Prepare Release v2.0.5 #57

Prepare Release v2.0.5

Prepare Release v2.0.5 #57

Triggered via pull request December 30, 2024 09:56
Status Failure
Total duration 23s
Artifacts

lint.yml

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

Annotations

11 errors and 11 warnings
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L5
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'WPCP_HTML'.
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L11
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'apply_filters'.
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L21
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'WPCP_HTML'.
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L25
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'apply_filters'.
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L38
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'WPCP_HTML'.
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L43
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wpcp_get_authors'.
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L58
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'WPCP_HTML'.
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L62
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wpcp_get_post_categories'.
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L71
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'WPCP_HTML'.
PHP Code Sniffer: includes/admin/views/metabox/post-settings.php#L85
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'WPCP_HTML'.
PHP Code Sniffer
Process completed with exit code 2.
PHP Code Sniffer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Code Sniffer: includes/admin/class-wpcp-settings.php#L86
This comment is 51% valid code; is this commented out code?
PHP Code Sniffer: includes/admin/class-wpcp-settings.php#L98
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
PHP Code Sniffer: includes/admin/class-wpcp-settings.php#L137
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
PHP Code Sniffer: includes/admin/class-wpcp-settings.php#L148
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
PHP Code Sniffer: includes/admin/class-wpcp-settings.php#L157
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
PHP Code Sniffer: includes/admin/class-wpcp-settings.php#L167
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
PHP Code Sniffer: includes/admin/class-wpcp-settings.php#L171
Found precision alignment of 3 spaces.
PHP Code Sniffer: includes/class-wpcp-notices.php#L55
Array double arrow not aligned correctly; expected 1 space(s) between "'upgrade_notice'" and double arrow, but found 3.
PHP Code Sniffer: includes/class-wpcp-notices.php#L56
Array double arrow not aligned correctly; expected 1 space(s) between "'article_notice'" and double arrow, but found 3.
PHP Code Sniffer: includes/library/readability/JSLikeHTMLElement.php#L44
Loose comparisons are not allowed. Expected: "==="; Found: "=="