Skip to content

Phpstan issues 1

Phpstan issues 1 #84

Triggered via pull request November 26, 2024 17:42
Status Failure
Total duration 3m 15s
Artifacts

plugin-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
WordPress.Security.EscapeOutput.OutputNotEscaped: includes/MslsAdmin.php#L388
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'strval'.
test
Process completed with exit code 1.
WordPress.PHP.DevelopmentFunctions.error_log_trigger_error: includes/MslsAdmin.php#L388
trigger_error() found. Debug code should not normally be used in production.
WordPress.Security.NonceVerification.Missing: includes/ContentImport/ContentImporter.php#L157
Processing form data without nonce verification.
WordPress.Security.NonceVerification.Missing: includes/ContentImport/ContentImporter.php#L384
Processing form data without nonce verification.
WordPress.PHP.DevelopmentFunctions.error_log_print_r: includes/MslsMain.php#L51
print_r() found. Debug code should not normally be used in production.
WordPress.PHP.DevelopmentFunctions.error_log_error_log: includes/MslsMain.php#L54
error_log() found. Debug code should not normally be used in production.
WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in: includes/MslsCustomFilter.php#L82
Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.