Skip to content

Prepare Release v2.0.5 #56

Prepare Release v2.0.5

Prepare Release v2.0.5 #56

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

lint.yml

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

Annotations

11 errors and 11 warnings
PHP Code Sniffer: includes/admin/views/metabox/advanced-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/advanced-settings.php#L14
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/advanced-settings.php#L23
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/advanced-settings.php#L37
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/advanced-settings.php#L55
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/advanced-settings.php#L166
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/advanced-settings.php#L172
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#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
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/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: "=="
PHP Code Sniffer: includes/library/readability/JSLikeHTMLElement.php#L50
Loose comparisons are not allowed. Expected: "!=="; Found: "!="
PHP Code Sniffer: includes/library/readability/JSLikeHTMLElement.php#L53
Silencing errors is strongly discouraged. Use proper error checking instead. Found: @$f->appendXML($value...
PHP Code Sniffer: includes/library/readability/JSLikeHTMLElement.php#L58
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
PHP Code Sniffer: includes/library/readability/JSLikeHTMLElement.php#L65
Silencing errors is strongly discouraged. Use proper error checking instead. Found: @$f->loadHTML('<htmlfragment>'...
PHP Code Sniffer: includes/library/readability/JSLikeHTMLElement.php#L79
debug_backtrace() found. Debug code should not normally be used in production.
PHP Code Sniffer: includes/library/readability/JSLikeHTMLElement.php#L80
trigger_error() found. Debug code should not normally be used in production.
PHP Code Sniffer: includes/library/readability/JSLikeHTMLElement.php#L92
Loose comparisons are not allowed. Expected: "==="; Found: "=="