Passed
Pull Request — master (#33)
by
unknown
02:13
created
woocommerce/myaccount/form-edit-address.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,11 +23,14 @@
 block discarded – undo
23 23
 
24 24
 <?php if ( ! $load_address ) : ?>
25 25
 	<?php wc_get_template( 'myaccount/my-address.php' ); ?>
26
-<?php else : ?>
26
+<?php else {
27
+	: ?>
27 28
 
28 29
 	<form method="post">
29 30
 
30
-		<h3><?php echo apply_filters( 'woocommerce_my_account_edit_address_title', $page_title, $load_address ); ?></h3><?php // @codingStandardsIgnoreLine ?>
31
+		<h3><?php echo apply_filters( 'woocommerce_my_account_edit_address_title', $page_title, $load_address );
32
+}
33
+?></h3><?php // @codingStandardsIgnoreLine ?>
31 34
 
32 35
 		<div class="woocommerce-address-fields">
33 36
 			<?php do_action( "woocommerce_before_edit_address_form_{$load_address}" ); ?>
Please login to merge, or discard this patch.
woocommerce/checkout/form-coupon.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@
 block discarded – undo
17 17
 
18 18
 defined( 'ABSPATH' ) || exit;
19 19
 
20
-if ( ! wc_coupons_enabled() ) { // @codingStandardsIgnoreLine.
20
+if ( ! wc_coupons_enabled() ) {
21
+// @codingStandardsIgnoreLine.
21 22
 	return;
22 23
 }
23 24
 
Please login to merge, or discard this patch.
index.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,9 @@
 block discarded – undo
22 22
 	 */
23 23
 	get_template_part( 'templates/loop/content', get_post_format() );
24 24
 	endwhile;
25
-else :
25
+else {
26
+	:
26 27
 	get_template_part( 'templates/loop/content', 'none' );
28
+}
27 29
 endif;
28 30
 
Please login to merge, or discard this patch.
inc/bootstrap-wp-navwalker.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,8 @@
 block discarded – undo
182 182
 			}
183 183
 
184 184
 			$atts['target'] = ! empty( $item->target ) ? $item->target : '';
185
-			if ( '_blank' === $item->target && empty( $item->xfn ) ) { // Thanks to LukaszJaro, see https://github.com/understrap/understrap/issues/973
185
+			if ( '_blank' === $item->target && empty( $item->xfn ) ) {
186
+// Thanks to LukaszJaro, see https://github.com/understrap/understrap/issues/973
186 187
 				$atts['rel'] = 'noopener noreferrer';
187 188
 			} else {
188 189
 				$atts['rel'] = $item->xfn;
Please login to merge, or discard this patch.
woocommerce/myaccount/form-login.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,9 +113,12 @@
 block discarded – undo
113 113
 					       name="password" id="reg_password" autocomplete="new-password"/>
114 114
 				</p>
115 115
 
116
-			<?php else : ?>
116
+			<?php else {
117
+	: ?>
117 118
 
118
-				<p><?php esc_html_e( 'A password will be sent to your email address.', 'spurs' ); ?></p>
119
+				<p><?php esc_html_e( 'A password will be sent to your email address.', 'spurs' );
120
+}
121
+?></p>
119 122
 
120 123
 			<?php endif; ?>
121 124
 
Please login to merge, or discard this patch.
archive.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,8 @@
 block discarded – undo
29 29
 		get_template_part( 'templates/loop/content', get_post_format() );
30 30
 	endwhile;
31 31
 
32
-else :
32
+else {
33
+	:
33 34
 	get_template_part( 'templates/loop/content', 'none' );
35
+}
34 36
 endif;
Please login to merge, or discard this patch.
templates/loop/content-none.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,9 +33,12 @@
 block discarded – undo
33 33
 			<?php
34 34
 			get_search_form();
35 35
 
36
-		else : ?>
36
+		else {
37
+			: ?>
37 38
 
38
-			<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'spurs' ); ?></p>
39
+			<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'spurs' );
40
+		}
41
+		?></p>
39 42
 			<?php
40 43
 			get_search_form();
41 44
 		endif; ?>
Please login to merge, or discard this patch.
author.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,8 +62,10 @@
 block discarded – undo
62 62
 				?>
63 63
 			</li>
64 64
 		<?php endwhile;
65
-	else :
65
+	else {
66
+		:
66 67
 		get_template_part( 'templates/loop/content', 'none' );
68
+	}
67 69
 	endif; ?>
68 70
 	<!-- End Loop -->
69 71
 </ul>
Please login to merge, or discard this patch.
header.php 1 patch
Braces   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,12 +43,17 @@
 block discarded – undo
43 43
 							<a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>"
44 44
 							   title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
45 45
 						</h1>
46
-					<?php else : ?>
47
-						<a class="navbar-brand" rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>"
46
+					<?php else {
47
+	: ?>
48
+						<a class="navbar-brand" rel="home" href="<?php echo esc_url( home_url( '/' ) );
49
+}
50
+?>"
48 51
 						   title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
49 52
 					<?php endif;
50
-				else :
53
+				else {
54
+					:
51 55
 					the_custom_logo();
56
+				}
52 57
 				endif; // end custom logo ?>
53 58
 
54 59
 				<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"
Please login to merge, or discard this patch.