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 ( 0006c6...b18562 )
by Simon
04:31 queued 02:15
created
web/app/mu-plugins/bedrock-autoloader.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         }
53 53
 
54 54
         self::$_single = $this;
55
-        self::$relative_path = '/../' . basename(__DIR__);
55
+        self::$relative_path = '/../'.basename(__DIR__);
56 56
 
57 57
         if (is_admin()) {
58 58
             add_filter('show_advanced_plugins', [$this, 'showInAdmin'], 0, 2);
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
         $this->validatePlugins();
71 71
         $this->countPlugins();
72 72
 
73
-        array_map(static function () {
74
-            include_once(WPMU_PLUGIN_DIR . '/' . func_get_args()[0]);
73
+        array_map(static function() {
74
+            include_once(WPMU_PLUGIN_DIR.'/'.func_get_args()[0]);
75 75
         }, array_keys(self::$cache['plugins']));
76 76
 
77 77
         $this->pluginHooks();
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
         $this->updateCache();
97 97
 
98
-        self::$auto_plugins = array_map(function ($auto_plugin) {
98
+        self::$auto_plugins = array_map(function($auto_plugin) {
99 99
             $auto_plugin['Name'] .= ' *';
100 100
 
101 101
             return $auto_plugin;
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     private function updateCache()
131 131
     {
132
-        require_once(ABSPATH . 'wp-admin/includes/plugin.php');
132
+        require_once(ABSPATH.'wp-admin/includes/plugin.php');
133 133
 
134 134
         self::$auto_plugins = get_plugins(self::$relative_path);
135 135
         self::$mu_plugins = get_mu_plugins();
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         }
154 154
 
155 155
         foreach (self::$activated as $plugin_file => $plugin_info) {
156
-            do_action('activate_' . $plugin_file);
156
+            do_action('activate_'.$plugin_file);
157 157
         }
158 158
     }
159 159
 
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     private function validatePlugins()
164 164
     {
165 165
         foreach (self::$cache['plugins'] as $plugin_file => $plugin_info) {
166
-            if (!file_exists(WPMU_PLUGIN_DIR . '/' . $plugin_file)) {
166
+            if (!file_exists(WPMU_PLUGIN_DIR.'/'.$plugin_file)) {
167 167
                 $this->updateCache();
168 168
                 break;
169 169
             }
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
             return self::$count;
185 185
         }
186 186
 
187
-        $count = count(glob(WPMU_PLUGIN_DIR . '/*/', GLOB_ONLYDIR | GLOB_NOSORT));
187
+        $count = count(glob(WPMU_PLUGIN_DIR.'/*/', GLOB_ONLYDIR | GLOB_NOSORT));
188 188
 
189 189
         if (!isset(self::$cache['count']) || $count != self::$cache['count']) {
190 190
             self::$count = $count;
Please login to merge, or discard this patch.