Failed Conditions
Push — develop ( da59bc...2d4e05 )
by Reüel
06:13
created
src/Admin/AdminSubscriptions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
 			$memberpress_subscription_id = (string) \get_post_meta( $subscription_post->ID, '_pronamic_subscription_source_id', true );
112 112
 
113
-			$this->subscriptions_map[ $memberpress_subscription_id ] = $subscription_post;
113
+			$this->subscriptions_map[$memberpress_subscription_id] = $subscription_post;
114 114
 		}
115 115
 
116 116
 		return $this->subscriptions_map;
@@ -153,8 +153,8 @@  discard block
 block discarded – undo
153 153
 
154 154
 		$memberpress_subscription_id = $rec->id;
155 155
 
156
-		if ( isset( $map[ $memberpress_subscription_id ] ) ) {
157
-			$pronamic_subscription_post = $map[ $memberpress_subscription_id ];
156
+		if ( isset( $map[$memberpress_subscription_id] ) ) {
157
+			$pronamic_subscription_post = $map[$memberpress_subscription_id];
158 158
 
159 159
 			\printf(
160 160
 				'<a href="%s">%s</a>',
Please login to merge, or discard this patch.
views/subscription-form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 		continue;
49 49
 	}
50 50
 
51
-	$items[ $p->ID ] = $url;
51
+	$items[$p->ID] = $url;
52 52
 }
53 53
 
54 54
 ?>
Please login to merge, or discard this patch.
views/transaction-form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 		continue;
49 49
 	}
50 50
 
51
-	$items[ $p->ID ] = $url;
51
+	$items[$p->ID] = $url;
52 52
 }
53 53
 
54 54
 ?>
Please login to merge, or discard this patch.
src/Admin/AdminTransactions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 		$memberpress_transaction_id = $rec->id;
112 112
 
113 113
 		if ( \array_key_exists( $memberpress_transaction_id, $this->payments_map ) ) {
114
-			$pronamic_payment_post = $this->payments_map[ $memberpress_transaction_id ];
114
+			$pronamic_payment_post = $this->payments_map[$memberpress_transaction_id];
115 115
 
116 116
 			\printf(
117 117
 				'<a href="%s">%s</a>',
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 		foreach ( $payment_posts as $payment_post ) {
181 181
 			$memberpress_transaction_id = (string) \get_post_meta( $payment_post->ID, '_pronamic_payment_source_id', true );
182 182
 
183
-			$this->payments_map[ $memberpress_transaction_id ] = $payment_post;
183
+			$this->payments_map[$memberpress_transaction_id] = $payment_post;
184 184
 		}
185 185
 
186 186
 		return $paths;
Please login to merge, or discard this patch.