Test Failed
Push — master ( fe4fab...8c0d42 )
by Devin
05:47
created
includes/admin/shortcodes/shortcode-give-login.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -42,16 +42,16 @@
 block discarded – undo
42 42
 				'minWidth' => 320,
43 43
 				'tooltip'  => esc_attr__( 'Enter an URL here to redirect to after login.', 'give' ),
44 44
 			),
45
-            array(
46
-                'type' => 'container',
47
-                'html' => sprintf( '<p class="no-margin">%s</p>', esc_html__( 'Logout Redirect URL (optional):', 'give' ) ),
48
-            ),
49
-            array(
50
-                'type'     => 'textbox',
51
-                'name'     => 'logout-redirect',
52
-                'minWidth' => 320,
53
-                'tooltip'  => esc_attr__( 'Enter an URL here to redirect to after logout.', 'give' ),
54
-            ),
45
+			array(
46
+				'type' => 'container',
47
+				'html' => sprintf( '<p class="no-margin">%s</p>', esc_html__( 'Logout Redirect URL (optional):', 'give' ) ),
48
+			),
49
+			array(
50
+				'type'     => 'textbox',
51
+				'name'     => 'logout-redirect',
52
+				'minWidth' => 320,
53
+				'tooltip'  => esc_attr__( 'Enter an URL here to redirect to after logout.', 'give' ),
54
+			),
55 55
 		);
56 56
 	}
57 57
 }
Please login to merge, or discard this patch.
includes/admin/shortcodes/abstract-shortcode-generator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,8 +248,8 @@
 block discarded – undo
248 248
 
249 249
 			// do not reindex array!
250 250
 			$field['options'] = array(
251
-				                    '' => ( $field['placeholder'] ? $field['placeholder'] : esc_attr__( '- Select -', 'give' ) ),
252
-			                    ) + $field['options'];
251
+									'' => ( $field['placeholder'] ? $field['placeholder'] : esc_attr__( '- Select -', 'give' ) ),
252
+								) + $field['options'];
253 253
 
254 254
 			foreach ( $field['options'] as $value => $text ) {
255 255
 				$new_listbox['values'][] = array(
Please login to merge, or discard this patch.
includes/admin/tools/views/html-admin-page-system-info.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -586,9 +586,9 @@
 block discarded – undo
586 586
 					}
587 587
 
588 588
 					echo ' &ndash; '
589
-					     . sprintf( _x( 'by %s', 'by author', 'give' ), wp_kses( $author_name, wp_kses_allowed_html( 'post' ) ) )
590
-					     . ' &ndash; '
591
-					     . esc_html( $plugin_data['Version'] );
589
+						 . sprintf( _x( 'by %s', 'by author', 'give' ), wp_kses( $author_name, wp_kses_allowed_html( 'post' ) ) )
590
+						 . ' &ndash; '
591
+						 . esc_html( $plugin_data['Version'] );
592 592
 					?>
593 593
 				</td>
594 594
 			</tr>
Please login to merge, or discard this patch.
includes/gateways/offline-donations.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -249,10 +249,10 @@
 block discarded – undo
249 249
 	$admin_message .= '<strong>' . __( 'Amount:', 'give' ) . '</strong> {amount}' . "\n\n";
250 250
 
251 251
 	$admin_message .= sprintf(
252
-		                  '<a href="%1$s">%2$s</a>',
253
-		                  admin_url( 'edit.php?post_type=give_forms&page=give-payment-history&view=view-payment-details&id=' . $payment_id ),
254
-		                  __( 'View Donation Details &raquo;', 'give' )
255
-	                  ) . "\n\n";
252
+						  '<a href="%1$s">%2$s</a>',
253
+						  admin_url( 'edit.php?post_type=give_forms&page=give-payment-history&view=view-payment-details&id=' . $payment_id ),
254
+						  __( 'View Donation Details &raquo;', 'give' )
255
+					  ) . "\n\n";
256 256
 
257 257
 	$admin_message = apply_filters( 'give_offline_admin_donation_notification', $admin_message, $payment_id );
258 258
 	$admin_message = give_do_email_tags( $admin_message, $payment_id );
Please login to merge, or discard this patch.
includes/admin/tools/export/class-batch-export-donors.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@
 block discarded – undo
245 245
 
246 246
 					// Continue if donor already included.
247 247
 					if ( empty( $payment->customer_id ) ||
248
-					     in_array( $payment->customer_id, $cached_donor_ids )
248
+						 in_array( $payment->customer_id, $cached_donor_ids )
249 249
 					) {
250 250
 						continue;
251 251
 					}
Please login to merge, or discard this patch.
includes/plugin-compatibility.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
 	}
40 40
 
41 41
 	if ( ( is_plugin_active( 'wordpress-seo/wp-seo.php' )
42
-	       || is_plugin_active( 'wordpress-seo-premium/wp-seo-premium.php' ) )
43
-	     && class_exists( 'WPSEO_Sitemaps_Cache' )
42
+		   || is_plugin_active( 'wordpress-seo-premium/wp-seo-premium.php' ) )
43
+		 && class_exists( 'WPSEO_Sitemaps_Cache' )
44 44
 	) {
45 45
 
46 46
 		$forms_singular_option = give_get_option( 'forms_singular' );
Please login to merge, or discard this patch.
includes/admin/give-metabox-functions.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -557,7 +557,7 @@  discard block
 block discarded – undo
557 557
 				type="radio"
558 558
 				style="' . esc_attr( $field['style'] ) . '"
559 559
 				' . checked( esc_attr( $field['value'] ), esc_attr( $key ), false ) . ' '
560
-		     . give_get_custom_attributes( $field ) . '
560
+			 . give_get_custom_attributes( $field ) . '
561 561
 				/> ' . esc_html( $value ) . '</label>
562 562
 		</li>';
563 563
 	}
@@ -725,9 +725,9 @@  discard block
 block discarded – undo
725 725
 	$field['title'] = isset( $field['title'] ) ? $field['title'] : 'Documentation';
726 726
 
727 727
 	echo '<p class="give-docs-link"><a href="' . esc_url( $field['url'] )
728
-	     . '" target="_blank">'
729
-	     . sprintf( esc_html__( 'Need Help? See docs on "%s"', 'give' ), $field['title'] )
730
-	     . '<span class="dashicons dashicons-editor-help"></span></a></p>';
728
+		 . '" target="_blank">'
729
+		 . sprintf( esc_html__( 'Need Help? See docs on "%s"', 'give' ), $field['title'] )
730
+		 . '<span class="dashicons dashicons-editor-help"></span></a></p>';
731 731
 }
732 732
 
733 733
 
Please login to merge, or discard this patch.
includes/class-give-background-updater.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,8 +202,8 @@
 block discarded – undo
202 202
 		// 2. Processing percentage greater then 100%
203 203
 		if( (
204 204
 			101 < $resume_update['total_percentage'] ) ||
205
-		    ( $give_updates->get_total_db_update_count() < $resume_update['update'] ) ||
206
-		    ! in_array( $resume_update['update_info']['id'], $give_updates->get_update_ids() )
205
+			( $give_updates->get_total_db_update_count() < $resume_update['update'] ) ||
206
+			! in_array( $resume_update['update_info']['id'], $give_updates->get_update_ids() )
207 207
 		) {
208 208
 			if( ! $this->is_paused_process() ){
209 209
 				$give_updates->__pause_db_update(true);
Please login to merge, or discard this patch.
includes/admin/tools/views/html-admin-page-import-donations.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -22,15 +22,15 @@
 block discarded – undo
22 22
         <div class="postbox">
23 23
             <h1 class="give-importer-h1" align="center">
24 24
 	            <?php
25
-	            _e( 'Import Donations', 'give' );
25
+				_e( 'Import Donations', 'give' );
26 26
 
27
-	            if ( ! empty( $_POST['mapto'] ) && ! empty( $_GET['dry_run'] ) ) {
28
-		            printf(
27
+				if ( ! empty( $_POST['mapto'] ) && ! empty( $_GET['dry_run'] ) ) {
28
+					printf(
29 29
 						'<strong> %s</strong>',
30
-			            __( '(Dry Run)', 'give' )
31
-		            );
32
-	            }
33
-	            ?>
30
+						__( '(Dry Run)', 'give' )
31
+					);
32
+				}
33
+				?>
34 34
             </h1>
35 35
             <div class="inside give-tools-setting-page-import give-import-donations">
36 36
 				<?php
Please login to merge, or discard this patch.