Skip to content

fixes

fixes #521

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

lint.yml

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

Annotations

6 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#L3025
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'.
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
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 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
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
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;]