Fix PHP 7.2 parsing bug #577
lint.yml
on: pull_request
EditorConfig
6s
Plugin Check
1m 54s
Matrix: phpstan
Annotations
7 errors
|
Plugin Check
Process completed with exit code 1.
|
|
WordPress.WP.AlternativeFunctions.rand_mt_rand:
includes/class-metrics.php#L149
mt_rand() is discouraged. Use the far less predictable wp_rand() 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
|
|
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
|
|
WordPress.Security.EscapeOutput.OutputNotEscaped:
includes/object-cache.php#L3038
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/object-cache.php#L1926
Use of heredoc and nowdoc syntax ("<<<") is not allowed; use standard strings or inline HTML instead
|
|
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
|