Passed
Push — dev ( 750e95...fb5225 )
by Eric
02:29
created
index.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,8 +36,10 @@
 block discarded – undo
36 36
 
37 37
 	the_posts_navigation();
38 38
 
39
-else :
39
+else {
40
+	:
40 41
 
41 42
 	get_template_part( 'components/post/content', 'none' );
43
+}
42 44
 
43 45
 endif;
44 46
\ No newline at end of file
Please login to merge, or discard this patch.
inc/custom-header.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,11 +63,14 @@
 block discarded – undo
63 63
 		}
64 64
 	<?php
65 65
 		// If the user has set a custom color for the text use that.
66
-		else :
66
+		else {
67
+			:
67 68
 	?>
68 69
 		.site-title a,
69 70
 		.site-description {
70
-			color: #<?php echo esc_attr( $header_text_color ); ?>;
71
+			color: #<?php echo esc_attr( $header_text_color );
72
+		}
73
+		?>;
71 74
 		}
72 75
 	<?php endif; ?>
73 76
 	</style>
Please login to merge, or discard this patch.
inc/jetpack.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,8 +34,10 @@
 block discarded – undo
34 34
 		the_post();
35 35
 		if ( is_search() ) :
36 36
 			get_template_part( 'components/post/content', 'search' );
37
-		else :
37
+		else {
38
+			:
38 39
 			get_template_part( 'components/post/content', get_post_format() );
40
+		}
39 41
 		endif;
40 42
 	}
41 43
 }
Please login to merge, or discard this patch.
inc/theme-wrapper.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,13 +35,15 @@
 block discarded – undo
35 35
 
36 36
 			self::$base = substr( basename( self::$main_template ), 0, -4 );
37 37
 
38
-			if ( 'index' == self::$base )
39
-				self::$base = false;
38
+			if ( 'index' == self::$base ) {
39
+							self::$base = false;
40
+			}
40 41
 
41 42
 			$templates = array( 'wrapper.php' );
42 43
 
43
-			if ( self::$base )
44
-				array_unshift( $templates, sprintf( 'wrapper-%s.php', self::$base ) );
44
+			if ( self::$base ) {
45
+							array_unshift( $templates, sprintf( 'wrapper-%s.php', self::$base ) );
46
+			}
45 47
 
46 48
 			return locate_template( $templates );
47 49
 		}
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
@@ -28,8 +28,10 @@
 block discarded – undo
28 28
 
29 29
 	the_posts_navigation();
30 30
 
31
-else :
31
+else {
32
+	:
32 33
 
33 34
 	get_template_part( 'components/post/content', 'none' );
35
+}
34 36
 
35 37
 endif;
Please login to merge, or discard this patch.
components/post/content-none.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,12 @@
 block discarded – undo
26 26
 			<?php
27 27
 				get_search_form();
28 28
 
29
-		else : ?>
29
+		else {
30
+			: ?>
30 31
 
31
-			<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'bitsy' ); ?></p>
32
+			<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'bitsy' );
33
+		}
34
+		?></p>
32 35
 			<?php
33 36
 				get_search_form();
34 37
 
Please login to merge, or discard this patch.
components/post/content.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,10 @@
 block discarded – undo
14 14
 		<?php
15 15
 		if ( is_single() ) :
16 16
 			the_title( '<h1 class="entry-title">', '</h1>' );
17
-		else :
17
+		else {
18
+			:
18 19
 			the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
20
+		}
19 21
 		endif;
20 22
 
21 23
 		if ( 'post' === get_post_type() ) : ?>
Please login to merge, or discard this patch.
header.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,11 @@
 block discarded – undo
26 26
 		<?php
27 27
 			if ( is_front_page() || is_home() ) : ?>
28 28
 			<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
29
-		<?php else : ?>
30
-			<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
29
+		<?php else {
30
+	: ?>
31
+			<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) );
32
+}
33
+?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
31 34
 		<?php
32 35
 		endif; ?>
33 36
 		<?php $description = get_bloginfo( 'description', 'display' );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,6 +41,6 @@
 block discarded – undo
41 41
 
42 42
 	<?php get_template_part( 'components/navigation/navigation', 'primary' ); ?>
43 43
 
44
-	<?php if( is_front_page()) { get_template_part( 'components/header/banner', 'hero' ); } ?>
44
+	<?php if ( is_front_page() ) { get_template_part( 'components/header/banner', 'hero' ); } ?>
45 45
 
46 46
 	<div id="main" class="site-content container" role="main">
Please login to merge, or discard this patch.
functions.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,10 +148,10 @@
 block discarded – undo
148 148
 function bitsy_scripts() {	
149 149
 
150 150
 	wp_enqueue_script( 'bitsy-vendorjs', get_template_directory_uri() . '/assets/js/build/vendor.min.js', array(), '20151215', true );
151
-	wp_enqueue_style( 'bitsy-style', get_stylesheet_directory_uri().'/style.css' );
151
+	wp_enqueue_style( 'bitsy-style', get_stylesheet_directory_uri() . '/style.css' );
152 152
 	wp_enqueue_script( 'bitsy-navigation', get_template_directory_uri() . '/assets/js/source/navigation.js', array(), '20151215', true );
153 153
 	wp_enqueue_script( 'bitsy-skip-link-focus-fix', get_template_directory_uri() . '/assets/js/source/skip-link-focus-fix.js', array(), '20151215', true );
154
-	wp_enqueue_script( 'bitsy-js', get_template_directory_uri() . '/assets/js/build/bitsy.min.js', array('jquery'), '20151215', true );
154
+	wp_enqueue_script( 'bitsy-js', get_template_directory_uri() . '/assets/js/build/bitsy.min.js', array( 'jquery' ), '20151215', true );
155 155
 
156 156
 	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
157 157
 		wp_enqueue_script( 'comment-reply' );
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 /**
146 146
  * Enqueue scripts and styles.
147 147
  */
148
-function bitsy_scripts() {	
148
+function bitsy_scripts() {
149 149
 
150 150
 	wp_enqueue_script( 'bitsy-vendorjs', get_template_directory_uri() . '/assets/js/build/vendor.min.js', array(), '20151215', true );
151 151
 	wp_enqueue_style( 'bitsy-style', get_stylesheet_directory_uri().'/style.css' );
Please login to merge, or discard this patch.