Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis

This commit is contained in:
Aristeides Stathopoulos 2016-09-02 06:17:42 +03:00
parent 2346c3b735
commit 9dc4949e0a
2 changed files with 2 additions and 2 deletions

View File

@ -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 );
}
}

View File

@ -82,7 +82,7 @@
<exclude name="Squiz.Commenting.VariableComment.MissingVar" />
<exclude name="Squiz.Commenting.VariableComment.WrongStyle" />
<!-- <exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace" /> -->
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis" />
<!-- <exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis" /> -->
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword" />
<exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterDefault" />
<exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen" />