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 ( 4cb780...45b07d )
by Simon
04:34 queued 02:15
created
scripts/Roots/Bedrock/Installer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
       return 1;
32 32
     }
33 33
 
34
-    $salts = array_map(function ($key) {
34
+    $salts = array_map(function($key) {
35 35
       return sprintf("%s='%s'", $key, Installer::generateSalt());
36 36
     }, self::$KEYS);
37 37
 
Please login to merge, or discard this patch.
web/app/mu-plugins/bedrock-autoloader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
     $this->updateCache(); // May as well update the transient cache whilst here.
65 65
 
66
-    self::$auto_plugins = array_map(function ($auto_plugin) {
66
+    self::$auto_plugins = array_map(function($auto_plugin) {
67 67
       $auto_plugin['Name'] .= ' *';
68 68
       return $auto_plugin;
69 69
     }, self::$auto_plugins);
Please login to merge, or discard this patch.
web/app/themes/stash/404.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,4 +10,4 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 $context = Timber::get_context();
13
-Timber::render( '404.twig', $context );
13
+Timber::render('404.twig', $context);
Please login to merge, or discard this patch.
web/app/themes/stash/archive.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -14,27 +14,27 @@
 block discarded – undo
14 14
  * @since   Timber 0.2
15 15
  */
16 16
 
17
-$templates = array( 'archive.twig', 'index.twig' );
17
+$templates = array('archive.twig', 'index.twig');
18 18
 
19 19
 $data = Timber::get_context();
20 20
 
21 21
 $data['title'] = 'Archive';
22
-if ( is_day() ) {
23
-	$data['title'] = 'Archive: '.get_the_date( 'D M Y' );
24
-} else if ( is_month() ) {
25
-	$data['title'] = 'Archive: '.get_the_date( 'M Y' );
26
-} else if ( is_year() ) {
27
-	$data['title'] = 'Archive: '.get_the_date( 'Y' );
28
-} else if ( is_tag() ) {
29
-	$data['title'] = single_tag_title( '', false );
30
-} else if ( is_category() ) {
31
-	$data['title'] = single_cat_title( '', false );
32
-	array_unshift( $templates, 'archive-' . get_query_var( 'cat' ) . '.twig' );
33
-} else if ( is_post_type_archive() ) {
34
-	$data['title'] = post_type_archive_title( '', false );
35
-	array_unshift( $templates, 'archive-' . get_post_type() . '.twig' );
22
+if (is_day()) {
23
+	$data['title'] = 'Archive: ' . get_the_date('D M Y');
24
+} else if (is_month()) {
25
+	$data['title'] = 'Archive: ' . get_the_date('M Y');
26
+} else if (is_year()) {
27
+	$data['title'] = 'Archive: ' . get_the_date('Y');
28
+} else if (is_tag()) {
29
+	$data['title'] = single_tag_title('', false);
30
+} else if (is_category()) {
31
+	$data['title'] = single_cat_title('', false);
32
+	array_unshift($templates, 'archive-' . get_query_var('cat') . '.twig');
33
+} else if (is_post_type_archive()) {
34
+	$data['title'] = post_type_archive_title('', false);
35
+	array_unshift($templates, 'archive-' . get_post_type() . '.twig');
36 36
 }
37 37
 
38 38
 $data['posts'] = Timber::get_posts();
39 39
 
40
-Timber::render( $templates, $data );
40
+Timber::render($templates, $data);
Please login to merge, or discard this patch.
web/app/themes/stash/author.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 $data = Timber::get_context();
14 14
 $data['posts'] = Timber::get_posts();
15
-if ( isset( $wp_query->query_vars['author'] ) ) {
16
-	$author = new TimberUser( $wp_query->query_vars['author'] );
15
+if (isset($wp_query->query_vars['author'])) {
16
+	$author = new TimberUser($wp_query->query_vars['author']);
17 17
 	$data['author'] = $author;
18 18
 	$data['title'] = 'Author Archives: ' . $author->name();
19 19
 }
20
-Timber::render( array( 'author.twig', 'archive.twig' ), $data );
20
+Timber::render(array('author.twig', 'archive.twig'), $data);
Please login to merge, or discard this patch.
web/app/themes/stash/comments.php 1 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/content-none.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,22 +10,22 @@
 block discarded – undo
10 10
 
11 11
 <section class="no-results not-found">
12 12
 	<header class="page-header">
13
-		<h1 class="page-title"><?php _e( 'Nothing Found', 'stash' ); ?></h1>
13
+		<h1 class="page-title"><?php _e('Nothing Found', 'stash'); ?></h1>
14 14
 	</header><!-- .page-header -->
15 15
 
16 16
 	<div class="page-content">
17
-		<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
17
+		<?php if (is_home() && current_user_can('publish_posts')) : ?>
18 18
 
19
-			<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'stash' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
19
+			<p><?php printf(__('Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'stash'), esc_url(admin_url('post-new.php'))); ?></p>
20 20
 
21
-		<?php elseif ( is_search() ) : ?>
21
+		<?php elseif (is_search()) : ?>
22 22
 
23
-			<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'stash' ); ?></p>
23
+			<p><?php _e('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'stash'); ?></p>
24 24
 			<?php get_search_form(); ?>
25 25
 
26 26
 		<?php else : ?>
27 27
 
28
-			<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'stash' ); ?></p>
28
+			<p><?php _e('It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'stash'); ?></p>
29 29
 			<?php get_search_form(); ?>
30 30
 
31 31
 		<?php endif; ?>
Please login to merge, or discard this patch.
web/app/themes/stash/content-page.php 1 patch
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.
web/app/themes/stash/content-search.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12 12
 	<header class="entry-header">
13
-		<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
13
+		<?php the_title(sprintf('<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h1>'); ?>
14 14
 
15
-		<?php if ( 'post' == get_post_type() ) : ?>
15
+		<?php if ('post' == get_post_type()) : ?>
16 16
 		<div class="entry-meta">
17 17
 			<?php stash_posted_on(); ?>
18 18
 		</div><!-- .entry-meta -->
Please login to merge, or discard this patch.