diff --git a/auto-approval.php b/auto-approval.php index d34300c6..a6172a5a 100644 --- a/auto-approval.php +++ b/auto-approval.php @@ -127,7 +127,7 @@ function vipgoci_auto_approval_non_approval( $options['repo-name'], (int) $pr_number, (int) $pr_item_review->id, - 'Dismissing obsolete review; not approved any longer', + vipgoci_output_html_escape( 'Dismissing obsolete review; not approved any longer' ), $options['token'] ); } diff --git a/github-api.php b/github-api.php index f4c8a7a5..99f3067f 100644 --- a/github-api.php +++ b/github-api.php @@ -1292,8 +1292,7 @@ function vipgoci_github_pr_reviews_dismiss_with_non_active_comments( $options['repo-name'], $pr_number, $pr_review->id, - 'Dismissing review as all inline comments ' . - 'are obsolete by now', + 'Dismissing review as all inline comments are obsolete by now', $options['token'] ); } diff --git a/reports.php b/reports.php index efc209f5..15530649 100644 --- a/reports.php +++ b/reports.php @@ -101,7 +101,7 @@ function vipgoci_report_create_scan_details_software_versions( $details .= '