Skip to content

tweaks

tweaks #519

Triggered via push January 23, 2025 21:34
Status Failure
Total duration 1m 53s
Artifacts

lint.yml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
Squiz.PHP.Heredoc.NotAllowed: includes/object-cache.php#L1875
Use of heredoc and nowdoc syntax ("<<<") is not allowed; use standard strings or inline HTML instead
Squiz.PHP.Heredoc.NotAllowed: includes/object-cache.php#L1921
Use of heredoc and nowdoc syntax ("<<<") is not allowed; use standard strings or inline HTML instead
WordPress.Security.EscapeOutput.OutputNotEscaped: includes/object-cache.php#L3026
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'.
WordPress.WP.AlternativeFunctions.parse_url_parse_url: includes/object-cache.php#L3038
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
WordPress.WP.AlternativeFunctions.parse_url_parse_url: includes/class-predis.php#L209
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Squiz.PHP.Heredoc.NotAllowed: includes/class-plugin.php#L830
Use of heredoc and nowdoc syntax ("<<<") is not allowed; use standard strings or inline HTML instead
Squiz.PHP.Heredoc.NotAllowed: includes/class-plugin.php#L854
Use of heredoc and nowdoc syntax ("<<<") is not allowed; use standard strings or inline HTML instead
outdated_tested_upto_header: readme.txt#L1
Tested up to: 6.6 < 6.7. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Plugin Check
Process completed with exit code 1.
EditorConfig
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (PHP 7.4; Relay 0.7.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (PHP 8.2; Relay 0.7.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
WordPress.Security.ValidatedSanitizedInput.MissingUnslash: includes/class-plugin.php#L1079
$_POST[&#039;nonce&#039;] not unslashed before sanitization. Use wp_unslash() or similar
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized: includes/class-plugin.php#L1079
Detected usage of a non-sanitized input variable: $_POST[&#039;nonce&#039;]