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.
Test Setup Failed
Push — master ( 273301...d40dfb )
by Nikhil
19:35 queued 09:51
created
app/Purchase.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
     /**
129 129
      * Verify the status.
130 130
      *
131
-     * @param $status
131
+     * @param string $status
132 132
      *
133 133
      * @return bool
134 134
      */
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,14 +59,14 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    protected $guarded = [];
62
+    protected $guarded = [ ];
63 63
 
64 64
     /**
65 65
      * Date mutators.
66 66
      *
67 67
      * @var array
68 68
      */
69
-    protected $dates = ['date_purchased', 'delivery_date', 'deleted_at'];
69
+    protected $dates = [ 'date_purchased', 'delivery_date', 'deleted_at' ];
70 70
 
71 71
     /**
72 72
      * Default date format.
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     {
80 80
         parent::boot();
81 81
 
82
-        static::deleting(function (Purchase $purchase) {
82
+        static::deleting(function(Purchase $purchase) {
83 83
             $purchase->guitars()->delete();
84 84
             $purchase->notifications()->delete();
85 85
         });
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         if ($this->delivery_date->isFuture()) {
132 132
             return self::UPCOMING;
133 133
         }
134
-        if (! $this->isPendingStorage()) {
134
+        if (!$this->isPendingStorage()) {
135 135
             return self::COMPLETED;
136 136
         }
137 137
 
Please login to merge, or discard this patch.
app/Transformers/RackTransformer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      *
42 42
      * @param Rack $rack
43 43
      *
44
-     * @return \League\Fractal\Resource\Collection
44
+     * @return \League\Fractal\Resource\Item
45 45
      */
46 46
     public function includeWarehouse(Rack $rack)
47 47
     {
Please login to merge, or discard this 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 = ['warehouse', 'guitars'];
15
+    protected $availableIncludes = [ 'warehouse', 'guitars' ];
16 16
 
17 17
     /**
18 18
      * Turn this item object into a generic array.
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/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/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/WarehouseTransformer.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'];
15
+    protected $availableIncludes = [ 'racks' ];
16 16
 
17 17
     /**
18 18
      * Turn this item object into a generic array.
Please login to merge, or discard this patch.
app/Transformers/ShopTransformer.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 = ['sales'];
15
+    protected $availableIncludes = [ 'sales' ];
16 16
 
17 17
     /**
18 18
      * Turn this item object into a generic array.
Please login to merge, or discard this patch.