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 ( e150d2...1d99b6 )
by Atymic
11s
created
src/Console/MakeProviderCommand.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     protected function getArguments()
86 86
     {
87 87
         return [
88
-            ['name', InputArgument::REQUIRED, 'Name of the provider.'],
88
+            [ 'name', InputArgument::REQUIRED, 'Name of the provider.' ],
89 89
         ];
90 90
     }
91 91
 
@@ -97,14 +97,14 @@  discard block
 block discarded – undo
97 97
     protected function getOptions()
98 98
     {
99 99
         return [
100
-            ['spec', null, InputOption::VALUE_REQUIRED, 'The OAuth version that should be used.'],
101
-            ['author', null, InputOption::VALUE_REQUIRED, 'The name of the author.'],
102
-            ['email', null, InputOption::VALUE_REQUIRED, 'The email of the author.'],
103
-            ['scopes', null, InputOption::VALUE_OPTIONAL, 'The scopes to be requested.'],
104
-            ['request_token_url', null, InputOption::VALUE_OPTIONAL, 'The Request-Token-Endpoint URL.'],
105
-            ['authorize_url', null, InputOption::VALUE_OPTIONAL, 'The Authorization-Endpoint URL.'],
106
-            ['access_token_url', null, InputOption::VALUE_OPTIONAL, 'The Access-Token-Endpoint URL.'],
107
-            ['user_details_url', null, InputOption::VALUE_OPTIONAL, 'The User-Details-Endpoint URL.'],
100
+            [ 'spec', null, InputOption::VALUE_REQUIRED, 'The OAuth version that should be used.' ],
101
+            [ 'author', null, InputOption::VALUE_REQUIRED, 'The name of the author.' ],
102
+            [ 'email', null, InputOption::VALUE_REQUIRED, 'The email of the author.' ],
103
+            [ 'scopes', null, InputOption::VALUE_OPTIONAL, 'The scopes to be requested.' ],
104
+            [ 'request_token_url', null, InputOption::VALUE_OPTIONAL, 'The Request-Token-Endpoint URL.' ],
105
+            [ 'authorize_url', null, InputOption::VALUE_OPTIONAL, 'The Authorization-Endpoint URL.' ],
106
+            [ 'access_token_url', null, InputOption::VALUE_OPTIONAL, 'The Access-Token-Endpoint URL.' ],
107
+            [ 'user_details_url', null, InputOption::VALUE_OPTIONAL, 'The User-Details-Endpoint URL.' ],
108 108
         ];
109 109
     }
110 110
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         $contents = json_decode(file_get_contents($filename = base_path('composer.json')), true);
117 117
 
118 118
         $providerName = $compiler->getContext()->nameStudlyCase();
119
-        $contents['autoload']['psr-4']["SocialiteProviders\\$providerName\\"] = "SocialiteProviders/src/$providerName/";
119
+        $contents[ 'autoload' ][ 'psr-4' ][ "SocialiteProviders\\$providerName\\" ] = "SocialiteProviders/src/$providerName/";
120 120
 
121 121
         file_put_contents($filename, json_encode($contents, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
122 122
     }
Please login to merge, or discard this patch.
src/Compilers/Compiler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,8 @@
 block discarded – undo
68 68
 
69 69
         $contents = $view->render();
70 70
 
71
-        if($stub!='composer') {
72
-            $contents = "<?php\r\n\r\n" . $contents;
71
+        if ($stub != 'composer') {
72
+            $contents = "<?php\r\n\r\n".$contents;
73 73
         }
74 74
 
75 75
         $targetDir = base_path('/SocialiteProviders/src/'.$this->context->nameStudlyCase());
Please login to merge, or discard this patch.