Passed
Pull Request — master (#33)
by
unknown
02:13
created
woocommerce/cart/mini-cart.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,11 @@  discard block
 block discarded – undo
54 54
 					?>
55 55
 					<?php if ( empty( $product_permalink ) ) : ?>
56 56
 						<?php echo $thumbnail . $product_name; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
57
-					<?php else : ?>
58
-						<a href="<?php echo esc_url( $product_permalink ); ?>">
57
+					<?php else {
58
+	: ?>
59
+						<a href="<?php echo esc_url( $product_permalink );
60
+}
61
+?>">
59 62
 							<?php echo $thumbnail . $product_name; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
60 63
 						</a>
61 64
 					<?php endif; ?>
@@ -87,9 +90,12 @@  discard block
 block discarded – undo
87 90
 
88 91
 	<?php do_action( 'woocommerce_widget_shopping_cart_after_buttons' ); ?>
89 92
 
90
-<?php else : ?>
93
+<?php else {
94
+	: ?>
91 95
 
92
-	<p class="woocommerce-mini-cart__empty-message"><?php esc_html_e( 'No products in the cart.', 'spurs' ); ?></p>
96
+	<p class="woocommerce-mini-cart__empty-message"><?php esc_html_e( 'No products in the cart.', 'spurs' );
97
+}
98
+?></p>
93 99
 
94 100
 <?php endif; ?>
95 101
 
Please login to merge, or discard this patch.
search.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,8 @@
 block discarded – undo
24 24
 		 */
25 25
 		get_template_part( 'templates/loop/content', 'search' );
26 26
 	endwhile;
27
-else :
27
+else {
28
+	:
28 29
 	get_template_part( 'templates/loop/content', 'none' );
30
+}
29 31
 endif;
Please login to merge, or discard this patch.