From 9dc4949e0aeefac4b9371e13612b48e37b446877 Mon Sep 17 00:00:00 2001 From: Aristeides Stathopoulos Date: Fri, 2 Sep 2016 06:17:42 +0300 Subject: [PATCH] Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis --- includes/class-wc-order.php | 2 +- phpcs.ruleset.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-wc-order.php b/includes/class-wc-order.php index 719c29894f8..170b29a022f 100644 --- a/includes/class-wc-order.php +++ b/includes/class-wc-order.php @@ -976,7 +976,7 @@ class WC_Order extends WC_Abstract_Order { if ( ! $this->get_billing_email() && ( $user = $this->get_user() ) ) { try { $this->set_billing_email( $user->user_email ); - } catch( WC_Data_Exception $e ){ + } catch( WC_Data_Exception $e ) { unset( $e ); } } diff --git a/phpcs.ruleset.xml b/phpcs.ruleset.xml index db4e0c6204c..b780ee2f905 100644 --- a/phpcs.ruleset.xml +++ b/phpcs.ruleset.xml @@ -82,7 +82,7 @@ - +