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
Pull Request — master (#82)
by Vincent
02:34
created
web/app/themes/stash/lib/controller.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
         $context = $this->context;
73 73
 
74
-        $file = get_template_directory() . '/controllers/single/' . $this->context['post']->post_type . '.php';
74
+        $file = get_template_directory().'/controllers/single/'.$this->context['post']->post_type.'.php';
75 75
 
76 76
         if (file_exists($file)) {
77 77
             /**
@@ -79,13 +79,13 @@  discard block
 block discarded – undo
79 79
              */
80 80
             include($file);
81 81
         } else {
82
-            Timber::render(array('single-' . $context['post']->ID . '.twig', 'single-' . $context['post']->post_type . '.twig', 'single.twig'), $context, Cache::getTimerTime());
82
+            Timber::render(array('single-'.$context['post']->ID.'.twig', 'single-'.$context['post']->post_type.'.twig', 'single.twig'), $context, Cache::getTimerTime());
83 83
         }
84 84
     }
85 85
 
86 86
     public function fourOFour()
87 87
     {
88
-        include(get_template_directory() . '/controllers/404.php');
88
+        include(get_template_directory().'/controllers/404.php');
89 89
     }
90 90
 
91 91
     public function archive()
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
         $context = $this->context;
96 96
 
97
-        $file = get_template_directory() . '/controllers/archive/' . $this->context['post']->post_type . '.php';
97
+        $file = get_template_directory().'/controllers/archive/'.$this->context['post']->post_type.'.php';
98 98
 
99 99
         if (file_exists($file)) {
100 100
             /**
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
              */
103 103
             include($file);
104 104
         } else {
105
-            Timber::render(array('single-' . $context['post']->ID . '.twig', 'single-' . $context['post']->post_type . '.twig', 'single.twig'), $context, Cache::getTimerTime());
105
+            Timber::render(array('single-'.$context['post']->ID.'.twig', 'single-'.$context['post']->post_type.'.twig', 'single.twig'), $context, Cache::getTimerTime());
106 106
         }
107 107
     }
108 108
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
                 /**
117 117
                  * See if controller excists else fall back to default
118 118
                  */
119
-                $file = get_template_directory() . '/controllers/pages/' . $page . '.php';
119
+                $file = get_template_directory().'/controllers/pages/'.$page.'.php';
120 120
                 if (file_exists($file)) {
121 121
                     $this->found = $page;
122 122
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     {
145 145
         $this->setContext();
146 146
         $context = $this->context;
147
-        Timber::render(['page-' . $this->context['post']->post_name . '.twig', 'page.twig'], $this->context, Cache::getTimerTime());
147
+        Timber::render(['page-'.$this->context['post']->post_name.'.twig', 'page.twig'], $this->context, Cache::getTimerTime());
148 148
     }
149 149
 
150 150
     /**
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     public function getClass()
156 156
     {
157 157
         if ($this->found) {
158
-            return 'page-' . $this->found;
158
+            return 'page-'.$this->found;
159 159
         } else {
160 160
             return false;
161 161
         }
Please login to merge, or discard this patch.
web/app/themes/stash/controllers/archive/post.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,19 +2,19 @@
 block discarded – undo
2 2
 
3 3
 $context['title'] = 'Archive';
4 4
 if (is_day()) {
5
-    $context['title'] = 'Archive: ' . get_the_date('D M Y');
5
+    $context['title'] = 'Archive: '.get_the_date('D M Y');
6 6
 } else if (is_month()) {
7
-    $context['title'] = 'Archive: ' . get_the_date('M Y');
7
+    $context['title'] = 'Archive: '.get_the_date('M Y');
8 8
 } else if (is_year()) {
9
-    $context['title'] = 'Archive: ' . get_the_date('Y');
9
+    $context['title'] = 'Archive: '.get_the_date('Y');
10 10
 } else if (is_tag()) {
11 11
     $context['title'] = single_tag_title('', false);
12 12
 } else if (is_category()) {
13 13
     $context['title'] = single_cat_title('', false);
14
-    array_unshift($templates, 'archive-' . get_query_var('cat') . '.twig');
14
+    array_unshift($templates, 'archive-'.get_query_var('cat').'.twig');
15 15
 } else if (is_post_type_archive()) {
16 16
     $context['title'] = post_type_archive_title('', false);
17
-    array_unshift($templates, 'archive-' . get_post_type() . '.twig');
17
+    array_unshift($templates, 'archive-'.get_post_type().'.twig');
18 18
 }
19 19
 
20 20
 $context['posts'] = Timber::get_posts();
Please login to merge, or discard this patch.
web/app/themes/stash/controllers/single/post.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php
2 2
 use Undefined\Stash\Cache;
3 3
 
4
-Timber::render(array('single-' . $context['post']->ID . '.twig', 'single-' . $context['post']->post_type . '.twig', 'single.twig'), $context, Cache::getTimerTime());
4
+Timber::render(array('single-'.$context['post']->ID.'.twig', 'single-'.$context['post']->post_type.'.twig', 'single.twig'), $context, Cache::getTimerTime());
Please login to merge, or discard this patch.