Passed
Push — development ( a68c4d...46d9de )
by Eric
06:14
created
header.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,8 @@
 block discarded – undo
42 42
 			<div class="container">
43 43
 				<?php } ?>
44 44
 
45
-				<?php if ( ! has_custom_logo() ) { // Your site title as branding in the menu ?>
45
+				<?php if ( ! has_custom_logo() ) {
46
+// Your site title as branding in the menu ?>
46 47
 					<?php if ( is_front_page() && is_home() ) { ?>
47 48
 						<h1 class="navbar-brand mb-0">
48 49
 							<a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>"
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.
woocommerce/cart/mini-cart.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,8 +52,11 @@  discard block
 block discarded – undo
52 52
 					?>
53 53
 					<?php if ( empty( $product_permalink ) ) : ?>
54 54
 						<?php echo $thumbnail . $product_name; ?>
55
-					<?php else : ?>
56
-						<a href="<?php echo esc_url( $product_permalink ); ?>">
55
+					<?php else {
56
+	: ?>
57
+						<a href="<?php echo esc_url( $product_permalink );
58
+}
59
+?>">
57 60
 							<?php echo $thumbnail . $product_name; ?>
58 61
 						</a>
59 62
 					<?php endif; ?>
@@ -76,9 +79,12 @@  discard block
 block discarded – undo
76 79
 
77 80
 	<p class="woocommerce-mini-cart__buttons buttons"><?php do_action( 'woocommerce_widget_shopping_cart_buttons' ); ?></p>
78 81
 
79
-<?php else : ?>
82
+<?php else {
83
+	: ?>
80 84
 
81
-	<p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' ); ?></p>
85
+	<p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' );
86
+}
87
+?></p>
82 88
 
83 89
 <?php endif; ?>
84 90
 
Please login to merge, or discard this patch.