Test Failed
Push — master ( 25adfe...70178c )
by Devin
01:46
created
includes/admin/tools/views/html-admin-page-system-info.php 1 patch
Braces   +16 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,7 +57,12 @@  discard block
 block discarded – undo
57 57
 		<tr>
58 58
 			<td data-export-label="WP Multisite"><?php _e( 'WP Multisite', 'give' ); ?>:</td>
59 59
 			<td class="help"><span class="give-tooltip give-icon give-icon-question" data-tooltip="<?php echo esc_attr( __( 'Whether or not you have WordPress Multisite enabled.', 'give' ) ); ?>"></span></td>
60
-			<td><?php if ( is_multisite() ) echo '<span class="dashicons dashicons-yes"></span>'; else echo '&ndash;'; ?></td>
60
+			<td><?php if ( is_multisite() ) {
61
+	echo '<span class="dashicons dashicons-yes"></span>';
62
+} else {
63
+	echo '&ndash;';
64
+}
65
+?></td>
61 66
 		</tr>
62 67
 		<tr>
63 68
 			<td data-export-label="WP Memory Limit"><?php _e( 'WP Memory Limit', 'give' ); ?>:</td>
@@ -85,9 +90,12 @@  discard block
 block discarded – undo
85 90
 			<td>
86 91
 				<?php if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) : ?>
87 92
 					<mark class="yes"><span class="dashicons dashicons-yes"></span></mark>
88
-				<?php else : ?>
93
+				<?php else {
94
+	: ?>
89 95
 					<mark class="no">&ndash;</mark>
90
-				<?php endif; ?>
96
+				<?php endif;
97
+}
98
+?>
91 99
 			</td>
92 100
 		</tr>
93 101
 		<tr>
@@ -96,9 +104,12 @@  discard block
 block discarded – undo
96 104
 			<td>
97 105
 				<?php if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) : ?>
98 106
 					<mark class="no">&ndash;</mark>
99
-				<?php else : ?>
107
+				<?php else {
108
+	: ?>
100 109
 					<mark class="yes"><span class="dashicons dashicons-yes"></span></mark>
101
-				<?php endif; ?>
110
+				<?php endif;
111
+}
112
+?>
102 113
 			</td>
103 114
 		</tr>
104 115
 		<tr>
Please login to merge, or discard this patch.
includes/admin/EDD_SL_Plugin_Updater.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // Exit if accessed directly
4
-if ( ! defined( 'ABSPATH' ) ) exit;
4
+if ( ! defined( 'ABSPATH' ) ) {
5
+	exit;
6
+}
5 7
 
6 8
 /**
7 9
  * Allows plugins to use their own update API.
Please login to merge, or discard this patch.
includes/admin/class-give-settings.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1328,7 +1328,7 @@
 block discarded – undo
1328 1328
 			);
1329 1329
 			$license_status = 'license-' . $class;
1330 1330
 
1331
-		}else {
1331
+		} else {
1332 1332
 			switch ( $license->license ) {
1333 1333
 				case 'valid' :
1334 1334
 				default:
Please login to merge, or discard this patch.
includes/admin/payments/view-payment-details.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -520,7 +520,7 @@
 block discarded – undo
520 520
                                                 // Check whether the donor name and WP_User name is same or not.
521 521
                                                 if( sanitize_title( $donor_billing_name ) != sanitize_title( $donor_name ) ){
522 522
                                                     echo $donor_billing_name . ' (<a href="' . esc_url( admin_url( "edit.php?post_type=give_forms&page=give-donors&view=overview&id=$donor_id" ) ) . '">' . $donor_name . '</a>)';
523
-                                                }else{
523
+                                                } else{
524 524
                                                     echo $donor_name;
525 525
                                                 }
526 526
                                                 ?>
Please login to merge, or discard this patch.
templates/emails/header.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,10 @@
 block discarded – undo
6 6
  * @version     1.0
7 7
  */
8 8
 
9
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
9
+if ( ! defined( 'ABSPATH' ) ) {
10
+	exit;
11
+}
12
+// Exit if accessed directly.
10 13
 // This is the footer used if no others are available
11 14
 ?>
12 15
 <!DOCTYPE html>
Please login to merge, or discard this patch.
templates/emails/footer-default.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,10 @@
 block discarded – undo
6 6
  * @version     1.0
7 7
  */
8 8
 
9
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
9
+if ( ! defined( 'ABSPATH' ) ) {
10
+	exit;
11
+}
12
+// Exit if accessed directly.
10 13
 
11 14
 
12 15
 // For gmail compatibility, including CSS styles in head/body are stripped out therefore styles need to be inline. These variables contain rules which are added to the template inline.
Please login to merge, or discard this patch.
templates/emails/body-default.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,10 @@
 block discarded – undo
6 6
  * @version     1.0
7 7
  */
8 8
 
9
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
9
+if ( ! defined( 'ABSPATH' ) ) {
10
+	exit;
11
+}
12
+// Exit if accessed directly.
10 13
 
11 14
 // {email} is replaced by the content entered in Donations > Settings > Emails
12 15
 
Please login to merge, or discard this patch.
templates/emails/footer.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,10 @@
 block discarded – undo
6 6
  * @version     1.0
7 7
  */
8 8
 
9
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
9
+if ( ! defined( 'ABSPATH' ) ) {
10
+	exit;
11
+}
12
+// Exit if accessed directly.
10 13
 
11 14
 // This is the footer used if no others are available
12 15
 
Please login to merge, or discard this patch.
templates/emails/body.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,10 @@
 block discarded – undo
6 6
  * @version     1.0
7 7
  */
8 8
 
9
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
9
+if ( ! defined( 'ABSPATH' ) ) {
10
+	exit;
11
+}
12
+// Exit if accessed directly.
10 13
 
11 14
 // {email} is replaced by the content entered in Donations > Settings > Emails
12 15
 
Please login to merge, or discard this patch.