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 ( d22bab...41c46a )
by Nikhil
15:46 queued 08:03
created
app/Rack.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      *
19 19
      * @var array
20 20
      */
21
-    protected $fillable = ['name', 'capacity', 'make_id', 'warehouse_id'];
21
+    protected $fillable = [ 'name', 'capacity', 'make_id', 'warehouse_id' ];
22 22
 
23 23
     /**
24 24
      * Warehouse the rack is in.
Please login to merge, or discard this patch.
app/Supplier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      *
19 19
      * @var array
20 20
      */
21
-    protected $fillable = ['name', 'location'];
21
+    protected $fillable = [ 'name', 'location' ];
22 22
 
23 23
     /**
24 24
      * Purchases from this supplier.
Please login to merge, or discard this patch.
app/Warehouse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      *
20 20
      * @var array
21 21
      */
22
-    protected $fillable = ['name'];
22
+    protected $fillable = [ 'name' ];
23 23
 
24 24
     /**
25 25
      * Racks in the warehouse.
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     public function addOrUpdateRack($rack)
99 99
     {
100 100
         (array_has($rack, 'id')) ?
101
-            $this->racks()->find($rack['id'])->update($rack) : $this->addRack($rack);
101
+            $this->racks()->find($rack[ 'id' ])->update($rack) : $this->addRack($rack);
102 102
 
103 103
         return $this;
104 104
     }
Please login to merge, or discard this patch.
app/Http/Controllers/PurchaseController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     /**
85 85
      * Get the supplier depending on the request.
86 86
      *
87
-     * @param $request
87
+     * @param Request $request
88 88
      *
89 89
      * @return static
90 90
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     {
39 39
         $this->validate($request, $this->rules($request->input('supplier_id')));
40 40
         $purchase = $this->getSupplier($request)->makePurchase(
41
-            $request->only(['id', 'make_id', 'quantity', 'price', 'date_purchased', 'delivery_date'])
41
+            $request->only([ 'id', 'make_id', 'quantity', 'price', 'date_purchased', 'delivery_date' ])
42 42
         );
43 43
         event(new PurchaseWasCreated($purchase));
44 44
     }
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             'supplier.location' => 'required_if:supplier_id,new|string|max:255'
76 76
         ];
77 77
         if ($supplierId != 'new') {
78
-            $rules += ['supplier_id' => 'required|integer|exists:suppliers,id'];
78
+            $rules += [ 'supplier_id' => 'required|integer|exists:suppliers,id' ];
79 79
         }
80 80
 
81 81
         return $rules;
Please login to merge, or discard this patch.
app/Transformers/SupplierTransformer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      *
13 13
      * @var array
14 14
      */
15
-    protected $availableIncludes = ['purchases'];
15
+    protected $availableIncludes = [ 'purchases' ];
16 16
 
17 17
     /**
18 18
      * Turn this item object into a generic array.
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
     public function transform(Supplier $supplier)
25 25
     {
26 26
         return [
27
-            'id'       => (int)$supplier->id,
28
-            'name'     => (string)$supplier->name,
29
-            'location' => (string)$supplier->location,
27
+            'id'       => (int) $supplier->id,
28
+            'name'     => (string) $supplier->name,
29
+            'location' => (string) $supplier->location,
30 30
         ];
31 31
     }
32 32
 
Please login to merge, or discard this patch.
app/Transformers/WarehouseTransformer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 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.
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     public function transform(Warehouse $warehouse)
25 25
     {
26 26
         return [
27
-            'id'   => (int)$warehouse->id,
28
-            'name' => (string)$warehouse->name,
27
+            'id'   => (int) $warehouse->id,
28
+            'name' => (string) $warehouse->name,
29 29
         ];
30 30
     }
31 31
 
Please login to merge, or discard this patch.
app/Http/routes.php 1 patch
Spacing   +7 added lines, -7 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
 
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
     $router->get('api/purchases', 'API\PurchaseController@all');
32 32
     $router->get('api/users/me', 'API\UserController@getCurrentUser');
33 33
 
34
-    $router->resource('makes', 'MakeController', ['except' => ['create', 'show', 'edit', 'update']]);
35
-    $router->resource('models', 'ModelController', ['except' => ['create', 'show', 'edit', 'update']]);
36
-    $router->resource('purchases', 'PurchaseController', ['except' => ['create', 'show', 'edit', 'update']]);
37
-    $router->resource('suppliers', 'SupplierController', ['except' => ['create', 'show', 'edit', 'update']]);
38
-    $router->resource('warehouses', 'WarehouseController', ['except' => ['create', 'show', 'edit']]);
34
+    $router->resource('makes', 'MakeController', [ 'except' => [ 'create', 'show', 'edit', 'update' ] ]);
35
+    $router->resource('models', 'ModelController', [ 'except' => [ 'create', 'show', 'edit', 'update' ] ]);
36
+    $router->resource('purchases', 'PurchaseController', [ 'except' => [ 'create', 'show', 'edit', 'update' ] ]);
37
+    $router->resource('suppliers', 'SupplierController', [ 'except' => [ 'create', 'show', 'edit', 'update' ] ]);
38
+    $router->resource('warehouses', 'WarehouseController', [ 'except' => [ 'create', 'show', 'edit' ] ]);
39 39
 });
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
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 $uri = urldecode(
11
-    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
11
+    parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)
12 12
 );
13 13
 
14 14
 // 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
@@ -105,6 +105,6 @@
 block discarded – undo
105 105
     |
106 106
     */
107 107
 
108
-    'attributes' => [],
108
+    'attributes' => [ ],
109 109
 
110 110
 ];
Please login to merge, or discard this patch.