Completed
Push — develop ( a8bc4e...54aa13 )
by Remco
05:21 queued 01:18
created
admin/meta-box-gateway-test.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	// Payment method input HTML.
44 44
 	$html = $gateway->get_input_html();
45 45
 
46
-	if ( ! empty( $html ) ) {
46
+	if ( !empty( $html ) ) {
47 47
 		$inputs[ $payment_method ] = array(
48 48
 			'label' => $method_name,
49 49
 			'html'  => $html,
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
 }
53 53
 
54 54
 if ( $gateway->has_error() ) {
55
-	$pronamic_ideal_errors[] = $gateway->get_error();
55
+	$pronamic_ideal_errors[ ] = $gateway->get_error();
56 56
 }
57 57
 
58
-include Plugin::$dirname . '/views/errors.php';
58
+include Plugin::$dirname.'/views/errors.php';
59 59
 
60 60
 ?>
61 61
 <table class="form-table">
@@ -87,12 +87,12 @@  discard block
 block discarded – undo
87 87
 
88 88
 		<tr class="pronamic-pay-cloack pronamic-pay-test-payment-method <?php echo esc_attr( $method ); ?>">
89 89
 			<th scope="row">
90
-				<?php echo esc_html( $input['label'] ); ?>
90
+				<?php echo esc_html( $input[ 'label' ] ); ?>
91 91
 			</th>
92 92
 			<td>
93 93
 				<?php
94 94
 
95
-				echo $input['html']; // WPCS: XSS ok.
95
+				echo $input[ 'html' ]; // WPCS: XSS ok.
96 96
 
97 97
 				?>
98 98
 			</td>
@@ -304,5 +304,5 @@  discard block
 block discarded – undo
304 304
 <?php
305 305
 
306 306
 if ( $is_ideal || $gateway instanceof \Pronamic\WordPress\Pay\Gateways\OmniKassa2\Gateway ) {
307
-	include Plugin::$dirname . '/views/ideal-test-cases.php';
307
+	include Plugin::$dirname.'/views/ideal-test-cases.php';
308 308
 }
Please login to merge, or discard this patch.