GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 906caa...b7c8cc )
by Vincent
07:21
created
web/app/mu-plugins/register-theme-directory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
 */
11 11
 
12 12
 if (!defined('WP_DEFAULT_THEME')) {
13
-    register_theme_directory(ABSPATH . 'wp-content/themes');
13
+    register_theme_directory(ABSPATH.'wp-content/themes');
14 14
 }
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
web/app/themes/stash/content-page.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,20 +8,20 @@
 block discarded – undo
8 8
 
9 9
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
10 10
 	<header class="entry-header">
11
-		<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
11
+		<?php the_title('<h1 class="entry-title">', '</h1>'); ?>
12 12
 	</header><!-- .entry-header -->
13 13
 
14 14
 	<div class="entry-content">
15 15
 		<?php the_content(); ?>
16 16
 		<?php
17
-			wp_link_pages( array(
18
-				'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ),
17
+			wp_link_pages(array(
18
+				'before' => '<div class="page-links">'.__('Pages:', 'stash'),
19 19
 				'after'  => '</div>',
20
-			) );
20
+			));
21 21
 		?>
22 22
 	</div><!-- .entry-content -->
23 23
 
24 24
 	<footer class="entry-footer">
25
-		<?php edit_post_link( __( 'Edit', 'stash' ), '<span class="edit-link">', '</span>' ); ?>
25
+		<?php edit_post_link(__('Edit', 'stash'), '<span class="edit-link">', '</span>'); ?>
26 26
 	</footer><!-- .entry-footer -->
27 27
 </article><!-- #post-## -->
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
 	<div class="entry-content">
17 17
 		<?php the_content(); ?>
18 18
 		<?php
19
-			wp_link_pages( array(
20
-				'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ),
21
-				'after'  => '</div>',
22
-			) );
23
-		?>
19
+            wp_link_pages( array(
20
+                'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ),
21
+                'after'  => '</div>',
22
+            ) );
23
+        ?>
24 24
 	</div><!-- .entry-content -->
25 25
 
26 26
 	<footer class="entry-footer">
Please login to merge, or discard this patch.
web/app/themes/stash/page.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,4 +12,4 @@
 block discarded – undo
12 12
 $context = Timber::get_context();
13 13
 $post = new TimberPost();
14 14
 $context['post'] = $post;
15
-Timber::render(array('page-' . $post->post_name . '.twig', 'page.twig'), $context);
16 15
\ No newline at end of file
16
+Timber::render(array('page-'.$post->post_name.'.twig', 'page.twig'), $context);
17 17
\ No newline at end of file
Please login to merge, or discard this patch.
web/app/themes/stash/content.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -17,19 +17,19 @@
 block discarded – undo
17 17
 
18 18
 	<div class="entry-content">
19 19
 		<?php
20
-			/* translators: %s: Name of current post */
21
-			the_content( sprintf(
22
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'stash' ),
23
-				the_title( '<span class="screen-reader-text">"', '"</span>', false )
24
-			) );
25
-		?>
20
+            /* translators: %s: Name of current post */
21
+            the_content( sprintf(
22
+                __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'stash' ),
23
+                the_title( '<span class="screen-reader-text">"', '"</span>', false )
24
+            ) );
25
+        ?>
26 26
 
27 27
 		<?php
28
-			wp_link_pages( array(
29
-				'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ),
30
-				'after'  => '</div>',
31
-			) );
32
-		?>
28
+            wp_link_pages( array(
29
+                'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ),
30
+                'after'  => '</div>',
31
+            ) );
32
+        ?>
33 33
 	</div><!-- .entry-content -->
34 34
 
35 35
 	<footer class="entry-footer">
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@  discard block
 block discarded – undo
6 6
 
7 7
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
8 8
 	<header class="entry-header">
9
-		<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
9
+		<?php the_title(sprintf('<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h1>'); ?>
10 10
 
11
-		<?php if ( 'post' == get_post_type() ) : ?>
11
+		<?php if ('post' == get_post_type()) : ?>
12 12
 		<div class="entry-meta">
13 13
 			<?php stash_posted_on(); ?>
14 14
 		</div><!-- .entry-meta -->
@@ -18,17 +18,17 @@  discard block
 block discarded – undo
18 18
 	<div class="entry-content">
19 19
 		<?php
20 20
 			/* translators: %s: Name of current post */
21
-			the_content( sprintf(
22
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'stash' ),
23
-				the_title( '<span class="screen-reader-text">"', '"</span>', false )
24
-			) );
21
+			the_content(sprintf(
22
+				__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'stash'),
23
+				the_title('<span class="screen-reader-text">"', '"</span>', false)
24
+			));
25 25
 		?>
26 26
 
27 27
 		<?php
28
-			wp_link_pages( array(
29
-				'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ),
28
+			wp_link_pages(array(
29
+				'before' => '<div class="page-links">'.__('Pages:', 'stash'),
30 30
 				'after'  => '</div>',
31
-			) );
31
+			));
32 32
 		?>
33 33
 	</div><!-- .entry-content -->
34 34
 
Please login to merge, or discard this patch.
web/app/themes/stash/comments.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
  * return early without loading the comments.
15 15
  */
16 16
 if ( post_password_required() ) {
17
-	return;
17
+    return;
18 18
 }
19 19
 ?>
20 20
 
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
 	<?php if ( have_comments() ) : ?>
26 26
 		<h2 class="comments-title">
27 27
 			<?php
28
-				printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'stash' ),
29
-					number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
30
-			?>
28
+                printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'stash' ),
29
+                    number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
30
+            ?>
31 31
 		</h2>
32 32
 
33 33
 		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
 
45 45
 		<ol class="comment-list">
46 46
 			<?php
47
-				wp_list_comments( array(
48
-					'style'      => 'ol',
49
-					'short_ping' => true,
50
-				) );
51
-			?>
47
+                wp_list_comments( array(
48
+                    'style'      => 'ol',
49
+                    'short_ping' => true,
50
+                ) );
51
+            ?>
52 52
 		</ol><!-- .comment-list -->
53 53
 
54 54
 		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
@@ -66,9 +66,9 @@  discard block
 block discarded – undo
66 66
 	<?php endif; // have_comments() ?>
67 67
 
68 68
 	<?php
69
-		// If comments are closed and there are comments, let's leave a little note, shall we?
70
-		if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
71
-	?>
69
+        // If comments are closed and there are comments, let's leave a little note, shall we?
70
+        if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
71
+    ?>
72 72
 		<p class="no-comments"><?php _e( 'Comments are closed.', 'stash' ); ?></p>
73 73
 	<?php endif; ?>
74 74
 
Please login to merge, or discard this patch.
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
  * the visitor has not yet entered the password we will
14 14
  * return early without loading the comments.
15 15
  */
16
-if ( post_password_required() ) {
16
+if (post_password_required()) {
17 17
 	return;
18 18
 }
19 19
 ?>
@@ -22,21 +22,21 @@  discard block
 block discarded – undo
22 22
 
23 23
 	<?php // You can start editing here -- including this comment! ?>
24 24
 
25
-	<?php if ( have_comments() ) : ?>
25
+	<?php if (have_comments()) : ?>
26 26
 		<h2 class="comments-title">
27 27
 			<?php
28
-				printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'stash' ),
29
-					number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
28
+				printf(_nx('One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'stash'),
29
+					number_format_i18n(get_comments_number()), '<span>'.get_the_title().'</span>');
30 30
 			?>
31 31
 		</h2>
32 32
 
33
-		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
33
+		<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : // are there comments to navigate through ?>
34 34
 		<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
35
-			<h2 class="screen-reader-text"><?php _e( 'Comment navigation', 'stash' ); ?></h2>
35
+			<h2 class="screen-reader-text"><?php _e('Comment navigation', 'stash'); ?></h2>
36 36
 			<div class="nav-links">
37 37
 
38
-				<div class="nav-previous"><?php previous_comments_link( __( 'Older Comments', 'stash' ) ); ?></div>
39
-				<div class="nav-next"><?php next_comments_link( __( 'Newer Comments', 'stash' ) ); ?></div>
38
+				<div class="nav-previous"><?php previous_comments_link(__('Older Comments', 'stash')); ?></div>
39
+				<div class="nav-next"><?php next_comments_link(__('Newer Comments', 'stash')); ?></div>
40 40
 
41 41
 			</div><!-- .nav-links -->
42 42
 		</nav><!-- #comment-nav-above -->
@@ -44,20 +44,20 @@  discard block
 block discarded – undo
44 44
 
45 45
 		<ol class="comment-list">
46 46
 			<?php
47
-				wp_list_comments( array(
47
+				wp_list_comments(array(
48 48
 					'style'      => 'ol',
49 49
 					'short_ping' => true,
50
-				) );
50
+				));
51 51
 			?>
52 52
 		</ol><!-- .comment-list -->
53 53
 
54
-		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
54
+		<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : // are there comments to navigate through ?>
55 55
 		<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
56
-			<h2 class="screen-reader-text"><?php _e( 'Comment navigation', 'stash' ); ?></h2>
56
+			<h2 class="screen-reader-text"><?php _e('Comment navigation', 'stash'); ?></h2>
57 57
 			<div class="nav-links">
58 58
 
59
-				<div class="nav-previous"><?php previous_comments_link( __( 'Older Comments', 'stash' ) ); ?></div>
60
-				<div class="nav-next"><?php next_comments_link( __( 'Newer Comments', 'stash' ) ); ?></div>
59
+				<div class="nav-previous"><?php previous_comments_link(__('Older Comments', 'stash')); ?></div>
60
+				<div class="nav-next"><?php next_comments_link(__('Newer Comments', 'stash')); ?></div>
61 61
 
62 62
 			</div><!-- .nav-links -->
63 63
 		</nav><!-- #comment-nav-below -->
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
 
68 68
 	<?php
69 69
 		// If comments are closed and there are comments, let's leave a little note, shall we?
70
-		if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
70
+		if (!comments_open() && '0' != get_comments_number() && post_type_supports(get_post_type(), 'comments')) :
71 71
 	?>
72
-		<p class="no-comments"><?php _e( 'Comments are closed.', 'stash' ); ?></p>
72
+		<p class="no-comments"><?php _e('Comments are closed.', 'stash'); ?></p>
73 73
 	<?php endif; ?>
74 74
 
75 75
 	<?php comment_form(); ?>
Please login to merge, or discard this patch.
web/app/themes/stash/inc/post-types/example.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -19,14 +19,14 @@
 block discarded – undo
19 19
         'name'               => _x($plural, 'Post Type General Name', 'stash'),
20 20
         'singular_name'      => _x($single, 'Post Type Singular Name', 'stash'),
21 21
         'menu_name'          => __($plural, 'stash'),
22
-        'parent_item_colon'  => __('Parent ' . $single . ':', 'stash'),
23
-        'all_items'          => __('All ' . $plural, 'stash'),
24
-        'view_item'          => __('View ' . $single, 'stash'),
25
-        'add_new_item'       => __('Add New ' . $single, 'stash'),
22
+        'parent_item_colon'  => __('Parent '.$single.':', 'stash'),
23
+        'all_items'          => __('All '.$plural, 'stash'),
24
+        'view_item'          => __('View '.$single, 'stash'),
25
+        'add_new_item'       => __('Add New '.$single, 'stash'),
26 26
         'add_new'            => __('Add New', 'stash'),
27
-        'edit_item'          => __('Edit ' . $single, 'stash'),
28
-        'update_item'        => __('Update ' . $single, 'stash'),
29
-        'search_items'       => __('Search ' . $single, 'stash'),
27
+        'edit_item'          => __('Edit '.$single, 'stash'),
28
+        'update_item'        => __('Update '.$single, 'stash'),
29
+        'search_items'       => __('Search '.$single, 'stash'),
30 30
         'not_found'          => __('Not found', 'stash'),
31 31
         'not_found_in_trash' => __('Not found in Trash', 'stash'),
32 32
     ],
Please login to merge, or discard this patch.
web/app/themes/stash/search.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
  * @since   Timber 0.1
10 10
  */
11 11
 
12
-$templates = array( 'search.twig', 'archive.twig', 'index.twig' );
12
+$templates = array('search.twig', 'archive.twig', 'index.twig');
13 13
 $context = Timber::get_context();
14 14
 
15
-$context['title'] = 'Search results for '. get_search_query();
15
+$context['title'] = 'Search results for '.get_search_query();
16 16
 $context['posts'] = Timber::get_posts();
17 17
 
18
-Timber::render( $templates, $context );
18
+Timber::render($templates, $context);
Please login to merge, or discard this patch.
web/app/themes/stash/content-single.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
 	<div class="entry-content">
17 17
 		<?php the_content(); ?>
18 18
 		<?php
19
-			wp_link_pages( array(
20
-				'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ),
21
-				'after'  => '</div>',
22
-			) );
23
-		?>
19
+            wp_link_pages( array(
20
+                'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ),
21
+                'after'  => '</div>',
22
+            ) );
23
+        ?>
24 24
 	</div><!-- .entry-content -->
25 25
 
26 26
 	<footer class="entry-footer">
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 
7 7
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
8 8
 	<header class="entry-header">
9
-		<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
9
+		<?php the_title('<h1 class="entry-title">', '</h1>'); ?>
10 10
 
11 11
 		<div class="entry-meta">
12 12
 			<?php stash_posted_on(); ?>
@@ -16,10 +16,10 @@  discard block
 block discarded – undo
16 16
 	<div class="entry-content">
17 17
 		<?php the_content(); ?>
18 18
 		<?php
19
-			wp_link_pages( array(
20
-				'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ),
19
+			wp_link_pages(array(
20
+				'before' => '<div class="page-links">'.__('Pages:', 'stash'),
21 21
 				'after'  => '</div>',
22
-			) );
22
+			));
23 23
 		?>
24 24
 	</div><!-- .entry-content -->
25 25
 
Please login to merge, or discard this patch.
config/application.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 $root_dir = dirname(__DIR__);
3
-$webroot_dir = $root_dir . '/web';
3
+$webroot_dir = $root_dir.'/web';
4 4
 
5 5
 /**
6 6
  * Use Dotenv to set required environment variables and load .env file in root
7 7
  */
8
-if (file_exists($root_dir . '/.env')) {
8
+if (file_exists($root_dir.'/.env')) {
9 9
     Dotenv::load($root_dir);
10 10
 }
11 11
 
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
  */
18 18
 define('WP_ENV', getenv('WP_ENV') ?: 'development');
19 19
 
20
-$env_config = __DIR__ . '/environments/' . WP_ENV . '.php';
20
+$env_config = __DIR__.'/environments/'.WP_ENV.'.php';
21 21
 
22 22
 if (file_exists($env_config)) {
23 23
     require_once $env_config;
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
  * Custom Content Directory
34 34
  */
35 35
 define('CONTENT_DIR', '/app');
36
-define('WP_CONTENT_DIR', $webroot_dir . CONTENT_DIR);
37
-define('WP_CONTENT_URL', WP_HOME . CONTENT_DIR);
36
+define('WP_CONTENT_DIR', $webroot_dir.CONTENT_DIR);
37
+define('WP_CONTENT_URL', WP_HOME.CONTENT_DIR);
38 38
 
39 39
 /**
40 40
  * DB settings
@@ -70,5 +70,5 @@  discard block
 block discarded – undo
70 70
  * Bootstrap WordPress
71 71
  */
72 72
 if (!defined('ABSPATH')) {
73
-    define('ABSPATH', $webroot_dir . '/wp/');
73
+    define('ABSPATH', $webroot_dir.'/wp/');
74 74
 }
75 75
\ No newline at end of file
Please login to merge, or discard this patch.