Skip to content

Suppress Squiz.PHP.Heredoc.NotAllowed warning #529

Suppress Squiz.PHP.Heredoc.NotAllowed warning

Suppress Squiz.PHP.Heredoc.NotAllowed warning #529

Triggered via push January 24, 2025 11:36
Status Failure
Total duration 2m 15s
Artifacts

lint.yml

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

Annotations

4 errors and 3 warnings
Squiz.PHP.Heredoc.NotAllowed: includes/object-cache.php#L1880
Use of heredoc and nowdoc syntax ("<<<") is not allowed; use standard strings or inline HTML instead
Squiz.PHP.Heredoc.NotAllowed: includes/object-cache.php#L1926
Use of heredoc and nowdoc syntax ("<<<") is not allowed; use standard strings or inline HTML instead
WordPress.Security.EscapeOutput.OutputNotEscaped: includes/object-cache.php#L3030
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'.
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