Test Failed
Push — develop ( 262c11...e3581b )
by Remco
04:57
created
src/PaymentRequestHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 				// Use line item name as fallback for description.
93 93
 				if ( null === $description ) {
94 94
 					/* translators: %s: item index */
95
-					$description = sprintf( __( 'Item %s', 'pronamic_ideal' ), $i++ );
95
+					$description = sprintf( __( 'Item %s', 'pronamic_ideal' ), $i ++ );
96 96
 
97 97
 					if ( null !== $line->get_name() && '' !== $line->get_name() ) {
98 98
 						$description = $line->get_name();
Please login to merge, or discard this patch.
src/PaymentMethodType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
 		}
161 161
 
162 162
 		if ( array_key_exists( $payment_method, self::$map ) ) {
163
-			return self::$map[ $payment_method ];
163
+			return self::$map[$payment_method];
164 164
 		}
165 165
 
166 166
 		return null;
Please login to merge, or discard this patch.
src/Integration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 			__( 'test', 'pronamic_ideal' ) => 'https://ca-test.adyen.com/ca/ca/login.shtml',
42 42
 			__( 'live', 'pronamic_ideal' ) => 'https://ca-live.adyen.com/ca/ca/login.shtml',
43 43
 		);
44
-		$this->supports      = array(
44
+		$this->supports = array(
45 45
 			'webhook',
46 46
 			'webhook_log',
47 47
 		);
Please login to merge, or discard this patch.
src/SiteHealthController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
 		foreach ( $server_keys as $key ) {
253 253
 			if ( array_key_exists( $key, $_SERVER ) ) {
254 254
 				// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
255
-				$data[ $key ] = wp_unslash( $_SERVER[ $key ] );
255
+				$data[$key] = wp_unslash( $_SERVER[$key] );
256 256
 			}
257 257
 		}
258 258
 
Please login to merge, or discard this patch.
src/AbstractGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -425,7 +425,7 @@
 block discarded – undo
425 425
 
426 426
 					if ( 'issuer' === $detail->key && 'select' === $detail->type ) {
427 427
 						foreach ( $detail->items as $item ) {
428
-							$issuers[ \strval( $item->id ) ] = \strval( $item->name );
428
+							$issuers[\strval( $item->id )] = \strval( $item->name );
429 429
 						}
430 430
 					}
431 431
 				}
Please login to merge, or discard this patch.
src/DropInGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -345,7 +345,7 @@
 block discarded – undo
345 345
 					foreach ( $details as $detail ) {
346 346
 						$key = (string) $detail->get_key();
347 347
 
348
-						$details_result[ $key ] = \filter_input( $input_type, $key, FILTER_SANITIZE_STRING );
348
+						$details_result[$key] = \filter_input( $input_type, $key, FILTER_SANITIZE_STRING );
349 349
 					}
350 350
 
351 351
 					$details_result = Util::filter_null( $details_result );
Please login to merge, or discard this patch.