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 ( 451bdf...2afaf7 )
by Nikhil
12:22 queued 04:54
created
app/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,6 +34,6 @@
 block discarded – undo
34 34
      */
35 35
     public function getAvatarAttribute()
36 36
     {
37
-        return 'http://www.gravatar.com/avatar/'.md5($this->attributes['email']);
37
+        return 'http://www.gravatar.com/avatar/'.md5($this->attributes[ 'email' ]);
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/AuthController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     public function __construct()
24 24
     {
25
-        $this->middleware('guest', ['except' => 'logout']);
25
+        $this->middleware('guest', [ 'except' => 'logout' ]);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Settings/SecurityController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,9 +41,9 @@
 block discarded – undo
41 41
             'password'         => 'required|confirmed|min:6',
42 42
         ]);
43 43
 
44
-        if (! Hash::check($request->current_password, Auth::user()->password)) {
44
+        if (!Hash::check($request->current_password, Auth::user()->password)) {
45 45
             return response()->json(
46
-                ['current_password' => ['The current password you provided is incorrect.']], 422
46
+                [ 'current_password' => [ 'The current password you provided is incorrect.' ] ], 422
47 47
             );
48 48
         }
49 49
 
Please login to merge, or discard this patch.
app/Http/routes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-Route::group(['middleware' => 'web'], function ($router) {
4
-    $router->get('/', function () {
3
+Route::group([ 'middleware' => 'web' ], function($router) {
4
+    $router->get('/', function() {
5 5
         return redirect('/dashboard');
6 6
     });
7 7
 
@@ -28,5 +28,5 @@  discard block
 block discarded – undo
28 28
     $router->get('api/warehouses', 'API\WarehouseController@all');
29 29
     $router->get('api/makes', 'API\MakeController@all');
30 30
 
31
-    $router->resource('warehouses', 'WarehouseController', ['except' => ['create', 'show', 'edit']]);
31
+    $router->resource('warehouses', 'WarehouseController', [ 'except' => [ 'create', 'show', 'edit' ] ]);
32 32
 });
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function map(Router $router)
39 39
     {
40
-        $router->group(['namespace' => $this->namespace], function ($router) {
40
+        $router->group([ 'namespace' => $this->namespace ], function($router) {
41 41
             require app_path('Http/routes.php');
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
app/Purchase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,14 +23,14 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @var array
25 25
      */
26
-    protected $guarded = [];
26
+    protected $guarded = [ ];
27 27
 
28 28
     /**
29 29
      * Date mutators.
30 30
      *
31 31
      * @var array
32 32
      */
33
-    protected $dates = ['date_purchased', 'delivery_date'];
33
+    protected $dates = [ 'date_purchased', 'delivery_date' ];
34 34
 
35 35
     /**
36 36
      * Delivered Scope.
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         if ($this->delivery_date->isFuture()) {
79 79
             return self::UPCOMING;
80 80
         }
81
-        if (! $this->isPendingStorage()) {
81
+        if (!$this->isPendingStorage()) {
82 82
             return self::COMPLETED;
83 83
         }
84 84
 
Please login to merge, or discard this patch.
app/Transformers/ModelTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      *
13 13
      * @var array
14 14
      */
15
-    protected $availableIncludes = ['guitars'];
15
+    protected $availableIncludes = [ 'guitars' ];
16 16
 
17 17
     /**
18 18
      * Turn this item object into a generic array.
Please login to merge, or discard this patch.
app/Transformers/MakeTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      *
13 13
      * @var array
14 14
      */
15
-    protected $availableIncludes = ['racks', 'models', 'purchases', 'guitars'];
15
+    protected $availableIncludes = [ 'racks', 'models', 'purchases', 'guitars' ];
16 16
 
17 17
     /**
18 18
      * Turn this item object into a generic array.
Please login to merge, or discard this patch.
app/Transformers/PurchaseTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      *
13 13
      * @var array
14 14
      */
15
-    protected $availableIncludes = ['supplier'];
15
+    protected $availableIncludes = [ 'supplier' ];
16 16
 
17 17
     /**
18 18
      * Turn this item object into a generic array.
Please login to merge, or discard this patch.