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 ( fec4fe...b16356 )
by Vincent
07:45 queued 05:15
created
config/application.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 $root_dir = dirname(__DIR__);
5 5
 
6 6
 /** @var string Document Root */
7
-$webroot_dir = $root_dir . '/web';
7
+$webroot_dir = $root_dir.'/web';
8 8
 
9 9
 /**
10 10
  * Expose global env() function from oscarotero/env
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  * Use Dotenv to set required environment variables and load .env file in root
16 16
  */
17 17
 $dotenv = new Dotenv\Dotenv($root_dir);
18
-if (file_exists($root_dir . '/.env')) {
18
+if (file_exists($root_dir.'/.env')) {
19 19
     $dotenv->load();
20 20
     $dotenv->required(['DB_NAME', 'DB_USER', 'DB_PASSWORD', 'WP_HOME', 'WP_SITEURL']);
21 21
 }
Please login to merge, or discard this patch.
web/app/themes/stash/functions.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
  * Add or remove files to the array as needed. Supports child theme overrides.
7 7
  */
8 8
 $stash_includes = [
9
-    'lib/timber.php',     // Twig magic
10
-    'lib/assets.php',     // Scripts and stylesheets
11
-    'lib/extras.php',     // Custom functions
12
-    'lib/setup.php',      // Theme setup
13
-    'lib/images.php',     // Helper for retrieving Images
14
-    'lib/custom.php',     // Load custom post types and taxonomies
15
-    'lib/acf.php',        // Functions related to ACF
9
+    'lib/timber.php', // Twig magic
10
+    'lib/assets.php', // Scripts and stylesheets
11
+    'lib/extras.php', // Custom functions
12
+    'lib/setup.php', // Theme setup
13
+    'lib/images.php', // Helper for retrieving Images
14
+    'lib/custom.php', // Load custom post types and taxonomies
15
+    'lib/acf.php', // Functions related to ACF
16 16
     'lib/transients.php', // Clear all transients on database changes
17 17
 ];
18 18
 
Please login to merge, or discard this patch.
web/app/themes/stash/lib/images.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     function get($name)
13 13
     {
14
-        return get_template_directory_uri() . '/dist/images/' . $name;
14
+        return get_template_directory_uri().'/dist/images/'.$name;
15 15
     }
16 16
 
17 17
     /**
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         if (strpos($imageUrl, '.svg') !== false) {
29 29
             return file_get_contents($imageUrl);
30 30
         } else {
31
-            return "<img src='" . $this->get($name) . "' />";
31
+            return "<img src='".$this->get($name)."' />";
32 32
         }
33 33
     }
34 34
 }
35 35
\ No newline at end of file
Please login to merge, or discard this patch.
web/app/themes/stash/lib/custom.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function registerPostTypes()
14 14
     {
15
-        foreach (glob(get_template_directory() . "/inc/post-types/*.php") as $filename) {
15
+        foreach (glob(get_template_directory()."/inc/post-types/*.php") as $filename) {
16 16
             include_once $filename;
17 17
         }
18 18
     }
@@ -22,13 +22,13 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function registerTaxonomies()
24 24
     {
25
-        foreach (glob(get_template_directory() . "/inc/taxonomies/*.php") as $filename) {
25
+        foreach (glob(get_template_directory()."/inc/taxonomies/*.php") as $filename) {
26 26
             include_once $filename;
27 27
         }
28 28
     }
29 29
 }
30 30
 
31
-add_action('init', function () {
31
+add_action('init', function() {
32 32
     $custom = new Custom();
33 33
     $custom->registerPostTypes();
34 34
     $custom->registerTaxonomies();
Please login to merge, or discard this patch.
web/app/themes/stash/lib/acf.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
 
60 60
             foreach ($list_searcheable_acf as $searcheable_acf) {
61 61
                 if ($searcheable_acf == $list_searcheable_acf[0]) {
62
-                    $where .= " (meta_key LIKE '%" . $searcheable_acf . "%' AND meta_value LIKE '%$tag%') ";
62
+                    $where .= " (meta_key LIKE '%".$searcheable_acf."%' AND meta_value LIKE '%$tag%') ";
63 63
                 } else {
64
-                    $where .= " OR (meta_key LIKE '%" . $searcheable_acf . "%' AND meta_value LIKE '%$tag%') ";
64
+                    $where .= " OR (meta_key LIKE '%".$searcheable_acf."%' AND meta_value LIKE '%$tag%') ";
65 65
                 }
66 66
 
67 67
                 $where .= ")
@@ -93,6 +93,6 @@  discard block
 block discarded – undo
93 93
     }
94 94
 }
95 95
 
96
-add_action('init', function () {
96
+add_action('init', function() {
97 97
     $acf = new ACF();
98 98
 });
99 99
\ No newline at end of file
Please login to merge, or discard this patch.
web/app/themes/stash/lib/extras.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,17 +24,17 @@
 block discarded – undo
24 24
     return $classes;
25 25
 }
26 26
 
27
-add_filter('body_class', __NAMESPACE__ . '\\body_class');
27
+add_filter('body_class', __NAMESPACE__.'\\body_class');
28 28
 
29 29
 /**
30 30
  * Clean up the_excerpt()
31 31
  */
32 32
 function excerpt_more()
33 33
 {
34
-    return ' &hellip; <a href="' . get_permalink() . '">' . __('Continued', 'stash') . '</a>';
34
+    return ' &hellip; <a href="'.get_permalink().'">'.__('Continued', 'stash').'</a>';
35 35
 }
36 36
 
37
-add_filter('excerpt_more', __NAMESPACE__ . '\\excerpt_more');
37
+add_filter('excerpt_more', __NAMESPACE__.'\\excerpt_more');
38 38
 
39 39
 function dd($var)
40 40
 {
Please login to merge, or discard this patch.
web/app/themes/stash/lib/assets.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -12,35 +12,35 @@
 block discarded – undo
12 12
      */
13 13
     public function load()
14 14
     {
15
-        $vendorJsExists = file_exists(get_template_directory() . '/dist/js/vendor.js');
16
-        $mainJsExists = file_exists(get_template_directory() . '/dist/js/main.js');
15
+        $vendorJsExists = file_exists(get_template_directory().'/dist/js/vendor.js');
16
+        $mainJsExists = file_exists(get_template_directory().'/dist/js/main.js');
17 17
         $mainJsDependencies = [];
18 18
 
19
-        $mainCssExists = file_exists(get_template_directory() . '/dist/css/main.css');
20
-        $vendorCssExists = file_exists(get_template_directory() . '/dist/css/vendor.css');
19
+        $mainCssExists = file_exists(get_template_directory().'/dist/css/main.css');
20
+        $vendorCssExists = file_exists(get_template_directory().'/dist/css/vendor.css');
21 21
         $mainCssDependencies = [];
22 22
 
23 23
         if ($vendorJsExists) {
24
-            wp_enqueue_script('stashVendorJs', get_template_directory_uri() . '/dist/js/vendor.js', [], filemtime(get_stylesheet_directory() . '/dist/js/vendor.js'), true);
24
+            wp_enqueue_script('stashVendorJs', get_template_directory_uri().'/dist/js/vendor.js', [], filemtime(get_stylesheet_directory().'/dist/js/vendor.js'), true);
25 25
             array_push($mainJsDependencies, 'stashVendorJs');
26 26
         }
27 27
 
28 28
         if ($mainJsExists) {
29
-            wp_enqueue_script('stashMainJs', get_template_directory_uri() . '/dist/js/main.js', $mainJsDependencies, filemtime(get_stylesheet_directory() . '/dist/js/main.js'), true);
29
+            wp_enqueue_script('stashMainJs', get_template_directory_uri().'/dist/js/main.js', $mainJsDependencies, filemtime(get_stylesheet_directory().'/dist/js/main.js'), true);
30 30
         }
31 31
 
32 32
         if ($vendorCssExists) {
33
-            wp_enqueue_style('stashVendorCss', get_template_directory_uri() . '/dist/css/vendor.css', [], filemtime(get_stylesheet_directory() . '/dist/css/vendor.css'));
33
+            wp_enqueue_style('stashVendorCss', get_template_directory_uri().'/dist/css/vendor.css', [], filemtime(get_stylesheet_directory().'/dist/css/vendor.css'));
34 34
             array_push($mainCssDependencies, 'stashVendorCss');
35 35
         }
36 36
 
37 37
         if ($mainCssExists) {
38
-            wp_enqueue_style('stashMainCss', get_template_directory_uri() . '/dist/css/main.css', $mainCssDependencies, filemtime(get_stylesheet_directory() . '/dist/css/main.css'));
38
+            wp_enqueue_style('stashMainCss', get_template_directory_uri().'/dist/css/main.css', $mainCssDependencies, filemtime(get_stylesheet_directory().'/dist/css/main.css'));
39 39
         }
40 40
     }
41 41
 }
42 42
 
43
-add_action('wp_enqueue_scripts', function () {
43
+add_action('wp_enqueue_scripts', function() {
44 44
     $assets = new Assets();
45 45
     $assets->load();
46 46
 }, 100);
47 47
\ No newline at end of file
Please login to merge, or discard this patch.
web/app/themes/stash/lib/setup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
     // Make theme available for translation
19 19
     // Community translations can be found at https://github.com/roots/sage-translations
20
-    load_theme_textdomain('stash', get_template_directory() . '/lang');
20
+    load_theme_textdomain('stash', get_template_directory().'/lang');
21 21
 
22 22
     // Enable plugins to manage the document title
23 23
     // http://codex.wordpress.org/Function_Reference/add_theme_support#Title_Tag
@@ -46,4 +46,4 @@  discard block
 block discarded – undo
46 46
     add_theme_support('menus');
47 47
 }
48 48
 
49
-add_action('after_setup_theme', __NAMESPACE__ . '\\setup');
49
+add_action('after_setup_theme', __NAMESPACE__.'\\setup');
Please login to merge, or discard this patch.
web/app/themes/stash/lib/timber.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 
8 8
 if (!class_exists('Timber')) {
9 9
 
10
-    add_action('admin_notices', function () {
11
-        echo '<div class="error"><p>Timber not activated. Make sure you activate the plugin in <a href="' . esc_url(admin_url('plugins.php#timber')) . '">' . esc_url(admin_url('plugins.php')) . '</a></p></div>';
10
+    add_action('admin_notices', function() {
11
+        echo '<div class="error"><p>Timber not activated. Make sure you activate the plugin in <a href="'.esc_url(admin_url('plugins.php#timber')).'">'.esc_url(admin_url('plugins.php')).'</a></p></div>';
12 12
     });
13 13
 
14 14
     return;
Please login to merge, or discard this patch.