From bd9019556bfe8a6649f92f825ffb0b110972e047 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 8 Oct 2019 11:21:50 -0400 Subject: [PATCH] Auto-fix some PHPCS errors --- plugins/wporg-5ftf/includes/pledge-meta.php | 6 +++--- plugins/wporg-5ftf/includes/pledge.php | 4 ++-- plugins/wporg-5ftf/includes/shortcodes.php | 4 ++-- plugins/wporg-5ftf/views/front-end.php | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/wporg-5ftf/includes/pledge-meta.php b/plugins/wporg-5ftf/includes/pledge-meta.php index 49f0bfd..21ae77b 100755 --- a/plugins/wporg-5ftf/includes/pledge-meta.php +++ b/plugins/wporg-5ftf/includes/pledge-meta.php @@ -29,13 +29,13 @@ function get_pledge_meta_config( $context = '' ) { 'single' => true, 'sanitize_callback' => 'sanitize_text_field', 'show_in_rest' => true, - 'php_filter' => FILTER_SANITIZE_STRING + 'php_filter' => FILTER_SANITIZE_STRING, ), 'org-name' => array( 'single' => true, 'sanitize_callback' => 'sanitize_text_field', 'show_in_rest' => true, - 'php_filter' => FILTER_SANITIZE_STRING + 'php_filter' => FILTER_SANITIZE_STRING, ), 'org-url' => array( 'single' => true, @@ -47,7 +47,7 @@ function get_pledge_meta_config( $context = '' ) { 'single' => true, 'sanitize_callback' => 'sanitize_email', 'show_in_rest' => false, - 'php_filter' => FILTER_VALIDATE_EMAIL + 'php_filter' => FILTER_VALIDATE_EMAIL, ), ); diff --git a/plugins/wporg-5ftf/includes/pledge.php b/plugins/wporg-5ftf/includes/pledge.php index 516041f..1fa4ed3 100755 --- a/plugins/wporg-5ftf/includes/pledge.php +++ b/plugins/wporg-5ftf/includes/pledge.php @@ -1,7 +1,7 @@

- +