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 ( 4d6146...b09b4a )
by James
01:51
created
src/migrations/2019_11_30_000000_create_2fa_token_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         if (!Schema::hasTable('2fa_tokens')) {
41 41
             Schema::create(
42 42
                 '2fa_tokens',
43
-                static function (Blueprint $table) {
43
+                static function(Blueprint $table) {
44 44
                     $table->increments('id');
45 45
                     $table->integer('user_id', false, true);
46 46
                     $table->datetime('expires_at');
Please login to merge, or discard this patch.
src/Middleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
             // set cookie with token:
25 25
             $cookieName = config('google2fa.cookie_name') ?? 'google2fa_token';
26
-            $lifetime   = (int)(config('google2fa.cookie_lifetime') ?? 8035200);
26
+            $lifetime   = (int) (config('google2fa.cookie_lifetime') ?? 8035200);
27 27
             $lifetime   = $lifetime > 8035200 ? 8035200 : $lifetime;
28 28
             $token      = $authenticator->sessionGet(Constants::SESSION_TOKEN);
29 29
             $response->withCookie(cookie()->make($cookieName, $token, $lifetime / 60));
Please login to merge, or discard this patch.
src/Google2FA.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@
 block discarded – undo
298 298
             $token  = null;
299 299
             $unique = false;
300 300
             $user   = $this->getUser();
301
-            $expire = time() + (int)$this->config('cookie_lifetime');
301
+            $expire = time() + (int) $this->config('cookie_lifetime');
302 302
             while ($loops < 10 && false === $unique) {
303 303
                 $token = Str::random(64);
304 304
                 try {
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function register()
35 35
     {
36
-        $this->app->singleton('pragmarx.google2fa', function ($app) {
36
+        $this->app->singleton('pragmarx.google2fa', function($app) {
37 37
             return $app->make(Google2FA::class);
38 38
         });
39 39
     }
Please login to merge, or discard this patch.
src/config/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * If stored in a cookie, what's the lifetime of the cookie?
29 29
      * Max value is 3 months (8035200 seconds).
30 30
      */
31
-    'cookie_lifetime' => (int)env('OTP_COOKIE_LIFETIME', 8035200),
31
+    'cookie_lifetime' => (int) env('OTP_COOKIE_LIFETIME', 8035200),
32 32
 
33 33
     /*
34 34
      * Name of the cookie.
Please login to merge, or discard this patch.