Test Failed
Push — develop ( 61c5d3...602393 )
by Reüel
06:05
created
views/checkout-drop-in.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
 
42 42
         <?php
43 43
 
44
-        wp_print_scripts( 'pronamic-pay-adyen-checkout-drop-in' );
44
+		wp_print_scripts( 'pronamic-pay-adyen-checkout-drop-in' );
45 45
 
46
-        ?>
46
+		?>
47 47
 	</body>
48 48
 </html>
Please login to merge, or discard this patch.
src/DropInGateway.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 		wp_register_script(
172 172
 			'pronamic-pay-adyen-checkout-drop-in',
173 173
 			plugins_url( '../js/dist/checkout-drop-in.js', __FILE__ ),
174
-			array ( 'pronamic-pay-adyen-checkout' ),
174
+			array( 'pronamic-pay-adyen-checkout' ),
175 175
 			null,
176 176
 			true
177 177
 		);
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
 					foreach ( $details as $detail ) {
335 335
 						$key = $detail->get_key();
336 336
 
337
-						$details_result[ $key ] = \filter_input( $input_type, $key, FILTER_SANITIZE_STRING );
337
+						$details_result[$key] = \filter_input( $input_type, $key, FILTER_SANITIZE_STRING );
338 338
 					}
339 339
 
340 340
 					$details_result = Util::filter_null( $details_result );
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
 		$configuration = array();
467 467
 
468 468
 		// Cards.
469
-		$configuration[ 'card' ] = array(
469
+		$configuration['card'] = array(
470 470
 			'enableStoreDetails' => true,
471 471
 			'hasHolderName'      => true,
472 472
 			'holderNameRequired' => true,
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
 		);
476 476
 
477 477
 		// Apple Pay.
478
-		$configuration[ 'applepay' ] = array(
478
+		$configuration['applepay'] = array(
479 479
 			'configuration' => array(
480 480
 				// Name to be displayed on the form
481 481
 				'merchantName'       => 'Adyen Test merchant',
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
 		);
494 494
 
495 495
 		// Google Pay.
496
-		$configuration[ 'googlepay' ] = array(
496
+		$configuration['googlepay'] = array(
497 497
 			// Change this to PRODUCTION when you're ready to accept live Google Pay payments
498 498
 			'environment' => 'TEST',
499 499
 
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
 		);
508 508
 
509 509
 		// Boleto Bancário.
510
-		$configuration[ 'boletobancario ' ] = array(
510
+		$configuration['boletobancario '] = array(
511 511
 			// Turn personal details section on/off.
512 512
 			'personalDetailsRequired' => true,
513 513
 
Please login to merge, or discard this patch.
src/PaymentResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@
 block discarded – undo
267 267
 	 * @return object
268 268
 	 */
269 269
 	public function get_json() {
270
-		$properties      = array(
270
+		$properties = array(
271 271
 			'refusalReason' => $this->get_refusal_reason(),
272 272
 			'redirect'      => ( null === $this->get_redirect() ? null : $this->get_redirect()->get_json() ),
273 273
 			'resultCode'    => $this->get_result_code(),
Please login to merge, or discard this patch.