Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines

This commit is contained in:
Aristeides Stathopoulos 2016-08-27 07:04:18 +03:00
parent 741f2b954a
commit d430dabb37
7 changed files with 0 additions and 7 deletions

View File

@ -227,7 +227,6 @@ class WC_Admin_Report {
";
}
if ( ! empty( $where_meta ) ) {
$relation = isset( $where_meta['relation'] ) ? $where_meta['relation'] : 'AND';

View File

@ -219,7 +219,6 @@ class WC_Settings_Payment_Gateways extends WC_Settings_Page {
'desc_tip' => true,
),
array(
'type' => 'sectionend',
'id' => 'checkout_endpoint_options',

View File

@ -145,7 +145,6 @@ class WC_API extends WC_Legacy_API {
include_once( dirname( __FILE__ ) . '/abstracts/abstract-wc-rest-terms-controller.php' );
include_once( dirname( __FILE__ ) . '/abstracts/abstract-wc-settings-api.php' );
// REST API controllers.
include_once( dirname( __FILE__ ) . '/api/class-wc-rest-coupons-controller.php' );
include_once( dirname( __FILE__ ) . '/api/class-wc-rest-customer-downloads-controller.php' );

View File

@ -616,7 +616,6 @@ class WC_CLI_Customer extends WC_CLI_Command {
),
);
// Allow dot notation for nested array so that user can specifies field
// like 'billing_address.first_name'.
return $this->flatten_array( $customer );

View File

@ -84,7 +84,6 @@ abstract class WC_Legacy_Customer extends WC_Data {
$key = 'shipping_address_1';
}
return $key;
}

View File

@ -90,7 +90,6 @@ class WC_Tests_Cart extends WC_Unit_Test_Case {
WC()->cart->remove_coupons();
WC_Helper_Product::delete_product( $product->id );
# Test case 3 #11626
update_post_meta( $coupon->get_id(), 'discount_type', 'percent' );
update_post_meta( $coupon->get_id(), 'coupon_amount', '50' );

View File

@ -218,7 +218,6 @@ class WC_Tests_CRUD_Data extends WC_Unit_Test_Case {
WHERE post_id = %d ORDER BY meta_id
", $object_id ) );
$object->delete_meta_data( 'test_meta_key' );
$object->update_meta_data( 'test_meta_key_2', 'updated_value', $raw_metadata[1]->meta_id );