Completed
Push — develop ( afbe36...3e78af )
by Remco
23:13 queued 10s
created
admin/meta-box-gateway-test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	$html = $gateway->get_input_html();
45 45
 
46 46
 	if ( ! empty( $html ) ) {
47
-		$inputs[ $payment_method ] = array(
47
+		$inputs[$payment_method] = array(
48 48
 			'label' => $method_name,
49 49
 			'html'  => $html,
50 50
 		);
@@ -167,8 +167,8 @@  discard block
 block discarded – undo
167 167
 					foreach ( $options as $key => $label ) {
168 168
 						$interval_suffix = '';
169 169
 
170
-						if ( isset( $options_interval_suffix[ $key ] ) ) {
171
-							$interval_suffix = $options_interval_suffix[ $key ];
170
+						if ( isset( $options_interval_suffix[$key] ) ) {
171
+							$interval_suffix = $options_interval_suffix[$key];
172 172
 						}
173 173
 
174 174
 						printf(
Please login to merge, or discard this patch.
includes/updates/update-2.0.0.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
 $config_ids = $wpdb->get_results( $query ); // WPCS: unprepared SQL ok.
230 230
 
231 231
 foreach ( $config_ids as $config_id ) {
232
-	$config_ids_map[ $config_id->id ] = $config_id->post_id;
232
+	$config_ids_map[$config_id->id] = $config_id->post_id;
233 233
 }
234 234
 
235 235
 /**
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 			$feed_meta = json_decode( $feed->meta, true );
302 302
 
303 303
 			$meta['form_id']                  = $feed->form_id;
304
-			$meta['config_id']                = @$config_ids_map[ $feed->configuration_id ];
304
+			$meta['config_id']                = @$config_ids_map[$feed->configuration_id];
305 305
 			$meta['is_active']                = $feed->is_active;
306 306
 			$meta['transaction_description']  = @$feed_meta['transactionDescription'];
307 307
 			$meta['delay_notification_ids']   = @$feed_meta['delayNotificationIds'];
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
 
416 416
 			// Meta
417 417
 			$meta = array(
418
-				'config_id'               => @$config_ids_map[ $payment->configuration_id ],
418
+				'config_id'               => @$config_ids_map[$payment->configuration_id],
419 419
 				'purchase_id'             => $payment->purchase_id,
420 420
 				'transaction_id'          => $payment->transaction_id,
421 421
 				'currency'                => $payment->currency,
@@ -474,7 +474,7 @@  discard block
 block discarded – undo
474 474
 	$value = get_option( $key_old );
475 475
 
476 476
 	if ( ! empty( $value ) ) {
477
-		$value_new = @$config_ids_map[ $value ];
477
+		$value_new = @$config_ids_map[$value];
478 478
 
479 479
 		update_option( $key_new, $value_new );
480 480
 	}
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
 		if ( is_array( $settings ) && isset( $settings['pronamic_shopp_ideal_configuration'] ) ) {
501 501
 			$value = $settings['pronamic_shopp_ideal_configuration'];
502 502
 
503
-			$settings['config_id'] = @$config_ids_map[ $value ];
503
+			$settings['config_id'] = @$config_ids_map[$value];
504 504
 
505 505
 			$wpdb->update(
506 506
 				$shopp_meta_table,
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
 if ( is_array( $settings ) && isset( $settings['configuration_id'] ) ) {
523 523
 	$value = $settings['configuration_id'];
524 524
 
525
-	$settings['config_id'] = @$config_ids_map[ $value ];
525
+	$settings['config_id'] = @$config_ids_map[$value];
526 526
 
527 527
 	unset( $settings['configuration_id'] );
528 528
 
Please login to merge, or discard this patch.
admin/meta-box-payment-lines.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,13 +18,16 @@
 block discarded – undo
18 18
 		<?php esc_html_e( 'No payment lines found.', 'pronamic_ideal' ); ?>
19 19
 	</p>
20 20
 
21
-<?php else : ?>
21
+<?php else {
22
+	: ?>
22 23
 
23 24
 	<div class="pronamic-pay-table-responsive">
24 25
 		<table class="pronamic-pay-table widefat">
25 26
 			<thead>
26 27
 				<tr>
27
-					<th scope="col"><?php esc_html_e( 'ID', 'pronamic_ideal' ); ?></th>
28
+					<th scope="col"><?php esc_html_e( 'ID', 'pronamic_ideal' );
29
+}
30
+?></th>
28 31
 					<th scope="col"><?php esc_html_e( 'SKU', 'pronamic_ideal' ); ?></th>
29 32
 					<th scope="col"><?php esc_html_e( 'Image', 'pronamic_ideal' ); ?></th>
30 33
 					<th scope="col"><?php esc_html_e( 'Name', 'pronamic_ideal' ); ?></th>
Please login to merge, or discard this patch.
admin/meta-box-payment-info.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -389,9 +389,11 @@
 block discarded – undo
389 389
 
390 390
 					esc_html_e( 'Ecommerce conversion tracked', 'pronamic_ideal' );
391 391
 
392
-				else :
392
+				else {
393
+					:
393 394
 
394 395
 					esc_html_e( 'Ecommerce conversion not tracked', 'pronamic_ideal' );
396
+				}
395 397
 
396 398
 				endif;
397 399
 
Please login to merge, or discard this patch.