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.
Passed
Push — master ( 21b11b...ee56ef )
by Tharindu
03:47
created
routes/web.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-Route::get('/', function () {
14
+Route::get('/', function() {
15 15
     return view('welcome');
16 16
 });
Please login to merge, or discard this patch.
routes/console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Artisan::command('inspire', function () {
16
+Artisan::command('inspire', function() {
17 17
     $this->comment(Inspiring::quote());
18 18
 })->describe('Display an inspiring quote');
Please login to merge, or discard this patch.
routes/api.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
 $api = app(Router::class);
18 18
 
19 19
 // Create a Dingo Version Group
20
-$api->version('v1', ['middleware' => 'api'], function ($api) {
21
-    $api->group(['prefix' => 'auth'], function ($api) {
20
+$api->version('v1', [ 'middleware' => 'api' ], function($api) {
21
+    $api->group([ 'prefix' => 'auth' ], function($api) {
22 22
         $api->post('register', [
23 23
             'as' => 'register',
24 24
             'uses' => 'App\\Api\\V1\\Controllers\\RegisterController@register',
@@ -42,14 +42,14 @@  discard block
 block discarded – undo
42 42
         $api->post('reset', 'App\\Api\\V1\\Controllers\\ResetPasswordController@resetPassword');
43 43
         $api->get('reset/{token}', [
44 44
             'as' => 'password.reset',
45
-            function () {
45
+            function() {
46 46
             },
47 47
         ]);
48 48
     });
49 49
 
50 50
     // Protected routes
51
-    $api->group(['middleware' => 'auth:api'], function ($api) {
52
-        $api->get('protected', function () {
51
+    $api->group([ 'middleware' => 'auth:api' ], function($api) {
52
+        $api->get('protected', function() {
53 53
             return response()->json([
54 54
                 'message' => 'Access to protected resources granted! You are seeing this text as you provided the token correctly.',
55 55
             ]);
Please login to merge, or discard this patch.
server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * @author   Taylor Otwell <[email protected]>
7 7
  */
8 8
 $uri = urldecode(
9
-    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
9
+    parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)
10 10
 );
11 11
 
12 12
 // This file allows us to emulate Apache's "mod_rewrite" functionality from the
Please login to merge, or discard this patch.
resources/lang/en/validation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,5 +116,5 @@
 block discarded – undo
116 116
     |
117 117
     */
118 118
 
119
-    'attributes' => [],
119
+    'attributes' => [ ],
120 120
 ];
Please login to merge, or discard this patch.
config/cors.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
     */
13 13
 
14 14
     'supportsCredentials' => false,
15
-    'allowedOrigins' => ['*'],
16
-    'allowedOriginsPatterns' => [],
17
-    'allowedHeaders' => ['*'],
18
-    'allowedMethods' => ['*'],
19
-    'exposedHeaders' => [],
15
+    'allowedOrigins' => [ '*' ],
16
+    'allowedOriginsPatterns' => [ ],
17
+    'allowedHeaders' => [ '*' ],
18
+    'allowedMethods' => [ '*' ],
19
+    'exposedHeaders' => [ ],
20 20
     'maxAge' => 0,
21 21
 ];
Please login to merge, or discard this patch.
config/session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     |
109 109
     */
110 110
 
111
-    'lottery' => [2, 100],
111
+    'lottery' => [ 2, 100 ],
112 112
 
113 113
     /*
114 114
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
config/logging.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     'channels' => [
32 32
         'stack' => [
33 33
             'driver' => 'stack',
34
-            'channels' => ['single'],
34
+            'channels' => [ 'single' ],
35 35
         ],
36 36
 
37 37
         'single' => [
Please login to merge, or discard this patch.
app/Api/V1/Controllers/LogoutController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
      */
16 16
     public function logout()
17 17
     {
18
-        if (! Auth::user()->token()->revoke()) {
18
+        if (!Auth::user()->token()->revoke()) {
19 19
             throw new HttpException(500);
20 20
         }
21 21
 
22 22
         return response()
23
-            ->json(['message' => 'Successfully logged out']);
23
+            ->json([ 'message' => 'Successfully logged out' ]);
24 24
     }
25 25
 }
Please login to merge, or discard this patch.