Skip to content

Prepare Release v2.0.4 #49

Prepare Release v2.0.4

Prepare Release v2.0.4 #49

Triggered via pull request December 8, 2024 11:37
Status Failure
Total duration 21s
Artifacts

lint.yml

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

Annotations

11 errors and 11 warnings
PHP Code Sniffer: includes/admin/views/metabox/campaign-miscellaneous.php#L2
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
PHP Code Sniffer: includes/admin/views/metabox/campaign-miscellaneous.php#L3
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$campaign_id'.
PHP Code Sniffer: includes/admin/views/metabox/campaign-miscellaneous.php#L3
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wp_create_nonce'.
PHP Code Sniffer: wp-content-pilot.php#L36
Inline comments must end in full-stops, exclamation marks, or question marks
PHP Code Sniffer: wp-content-pilot.php#L83
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
PHP Code Sniffer: wp-content-pilot.php#L92
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
PHP Code Sniffer: wp-content-pilot.php#L149
No space found before comment text; expected "// boot" but found "//boot"
PHP Code Sniffer: wp-content-pilot.php#L149
Inline comments must end in full-stops, exclamation marks, or question marks
PHP Code Sniffer: wp-content-pilot.php#L150
"require_once" is a statement not a function; no parentheses are required
PHP Code Sniffer: wp-content-pilot.php#L151
"require_once" is a statement not a function; no parentheses are required
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: wp-content-pilot.php#L58
Property name "$_instance" should not be prefixed with an underscore to indicate visibility
PHP Code Sniffer: wp-content-pilot.php#L196
Scheduling crons at 60 sec ( less than 15 minutes ) is discouraged.
PHP Code Sniffer: wp-content-pilot.php#L253
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
PHP Code Sniffer: wp-content-pilot.php#L307
This comment is 50% valid code; is this commented out code?
PHP Code Sniffer: wp-content-pilot.php#L322
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/views/metabox/action-metabox.php#L14
Processing form data without nonce verification.
PHP Code Sniffer: includes/admin/views/metabox/action-metabox.php#L14
Processing form data without nonce verification.
PHP Code Sniffer: includes/admin/views/metabox/action-metabox.php#L79
Processing form data without nonce verification.
PHP Code Sniffer: includes/admin/views/metabox/action-metabox.php#L82
Processing form data without nonce verification.
PHP Code Sniffer: includes/admin/views/metabox/action-metabox.php#L91
Processing form data without nonce verification.