Test Failed
Push — develop ( abf4e1...29070a )
by Reüel
03:42
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 				$id   = Security::filter( $issuer->id );
182 182
 				$name = Security::filter( $issuer->name );
183 183
 
184
-				$issuers[ $id ] = $name;
184
+				$issuers[$id] = $name;
185 185
 			}
186 186
 		}
187 187
 
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 				$id   = Security::filter( $payment_method->id );
216 216
 				$name = Security::filter( $payment_method->description );
217 217
 
218
-				$payment_methods[ $id ] = $name;
218
+				$payment_methods[$id] = $name;
219 219
 			}
220 220
 		}
221 221
 
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
 			}
362 362
 
363 363
 			// @codingStandardsIgnoreStart
364
-			$valid_mandates[ $mandate->createdAt ] = $mandate;
364
+			$valid_mandates[$mandate->createdAt] = $mandate;
365 365
 			// @codingStandardsIgnoreEnd
366 366
 		}
367 367
 
Please login to merge, or discard this patch.
src/Methods.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,8 +149,8 @@
 block discarded – undo
149 149
 			return null;
150 150
 		}
151 151
 
152
-		if ( isset( self::$map[ $payment_method ] ) ) {
153
-			return self::$map[ $payment_method ];
152
+		if ( isset( self::$map[$payment_method] ) ) {
153
+			return self::$map[$payment_method];
154 154
 		}
155 155
 
156 156
 		if ( ! empty( $default ) ) {
Please login to merge, or discard this patch.
src/LocaleHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 		 * @link https://www.php.net/array_search
73 73
 		 */
74 74
 		if ( array_key_exists( $search, $supported ) ) {
75
-			return $supported[ $search ];
75
+			return $supported[$search];
76 76
 		}
77 77
 
78 78
 		return null;
Please login to merge, or discard this patch.
src/Gateway.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,14 +152,14 @@  discard block
 block discarded – undo
152 152
 
153 153
 			if ( Sequence::FIRST === $sequence_type ) {
154 154
 				foreach ( $result as $method => $title ) {
155
-					unset( $result[ $method ] );
155
+					unset( $result[$method] );
156 156
 
157 157
 					// Get WordPress payment method for direct debit method.
158 158
 					$method         = Methods::transform_gateway_method( $method );
159 159
 					$payment_method = array_search( $method, PaymentMethods::get_recurring_methods(), true );
160 160
 
161 161
 					if ( $payment_method ) {
162
-						$results[ $payment_method ] = $title;
162
+						$results[$payment_method] = $title;
163 163
 					}
164 164
 				}
165 165
 			}
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
 		}
688 688
 
689 689
 		// Get customer ID for subscription.
690
-		$customer_id  = $this->get_customer_id_for_subscription( $subscription );
690
+		$customer_id = $this->get_customer_id_for_subscription( $subscription );
691 691
 
692 692
 		if ( null === $customer_id ) {
693 693
 			return;
Please login to merge, or discard this patch.