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 ( ffdf05...f97308 )
by Aden
13:37
created
src/Flare/Admin/Admin.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace LaravelFlare\Flare\Admin;
4 4
 
5
-use Illuminate\Support\Arr;
6 5
 use Illuminate\Support\Str;
7 6
 use Illuminate\Routing\Router;
8 7
 use LaravelFlare\Flare\Support\ControllerInspector;
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -165,13 +165,13 @@  discard block
 block discarded – undo
165 165
         // route explicitly for the developers, so reverse routing is possible.
166 166
         foreach ($routable as $method => $routes) {
167 167
             foreach ($routes as $route) {
168
-                $action = ['uses' => $controller.'@'.$method];
168
+                $action = ['uses' => $controller . '@' . $method];
169 169
 
170 170
                 \Route::{$route['verb']}($route['uri'], $action);
171 171
             }
172 172
         }
173 173
 
174
-        \Route::any($uri.'/{_missing}', $controller.'@missingMethod');
174
+        \Route::any($uri . '/{_missing}', $controller . '@missingMethod');
175 175
     }
176 176
 
177 177
     /**
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
             return $this->view;
242 242
         }
243 243
 
244
-        return 'flare::'.$this->view;
244
+        return 'flare::' . $this->view;
245 245
     }
246 246
 
247 247
     /**
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
     public function getTitle()
323 323
     {
324 324
         if (!isset($this->title) || !$this->title) {
325
-            return Str::title(str_replace('_', ' ', snake_case(preg_replace('/'.static::CLASS_SUFFIX.'$/', '', static::shortName()))));
325
+            return Str::title(str_replace('_', ' ', snake_case(preg_replace('/' . static::CLASS_SUFFIX . '$/', '', static::shortName()))));
326 326
         }
327 327
 
328 328
         return $this->title;
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
      */
398 398
     public function relativeUrl($path = '')
399 399
     {
400
-        return \Flare::relativeAdminUrl($this->urlPrefix().($path ? '/'.$path : ''));
400
+        return \Flare::relativeAdminUrl($this->urlPrefix() . ($path ? '/' . $path : ''));
401 401
     }
402 402
 
403 403
     /**
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
      */
422 422
     public function relativeCurrentUrl($path)
423 423
     {
424
-        return \Route::current() ? \Route::current()->getPrefix().'/'.$path : null;
424
+        return \Route::current() ? \Route::current()->getPrefix() . '/' . $path : null;
425 425
     }
426 426
 
427 427
     /*
Please login to merge, or discard this patch.
src/Flare/Http/Controllers/Edge/AdminController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Illuminate\Foundation\Bus\DispatchesJobs;
11 11
 use Illuminate\Foundation\Auth\ResetsPasswords;
12 12
 use LaravelFlare\Flare\Permissions\Permissions;
13
-use Illuminate\Foundation\Auth\ThrottlesLogins;
14 13
 use Illuminate\Foundation\Auth\AuthenticatesUsers;
15 14
 use LaravelFlare\Flare\Http\Controllers\FlareController;
16 15
 use LaravelFlare\Flare\Admin\Widgets\WidgetAdminManager;
Please login to merge, or discard this patch.
src/Flare/Providers/AuthServiceProvider.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
     /**
30 30
      * Register any application authentication / authorization services.
31 31
      *
32
-     * @param \Illuminate\Contracts\Auth\Access\Gate $gate
33 32
      */
34 33
     public function boot()
35 34
     {
Please login to merge, or discard this patch.
src/Flare/Support/ControllerInspector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
                 // If the routable method is an index method, we will create a special index
49 49
                 // route which is simply the prefix and the verb and does not contain any
50 50
                 // the wildcard place-holders that each "typical" routes would contain.
51
-                if ($data['plain'] == $prefix.'/index') {
51
+                if ($data['plain'] == $prefix . '/index') {
52 52
                     $routable[$method->name][] = $this->getIndexData($data, $prefix);
53 53
                 }
54 54
             }
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public function getPlainUri($name, $prefix)
122 122
     {
123
-        return $prefix.'/'.implode('-', array_slice(explode('_', Str::snake($name)), 1));
123
+        return $prefix . '/' . implode('-', array_slice(explode('_', Str::snake($name)), 1));
124 124
     }
125 125
 
126 126
     /**
@@ -131,6 +131,6 @@  discard block
 block discarded – undo
131 131
      */
132 132
     public function addUriWildcards($uri)
133 133
     {
134
-        return $uri.'/{one?}/{two?}/{three?}/{four?}/{five?}';
134
+        return $uri . '/{one?}/{two?}/{three?}/{four?}/{five?}';
135 135
     }
136 136
 }
Please login to merge, or discard this patch.