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 ( bdbd26...ea9462 )
by Nikhil
09:20
created
database/seeds/RackTableSeeder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function run()
16 16
     {
17 17
         $warehouse = Warehouse::first();
18
-        Make::all()->each(function (Make $make) use ($warehouse) {
18
+        Make::all()->each(function(Make $make) use ($warehouse) {
19 19
             factory(Rack::class)->create([
20 20
                 'make_id'      => $make->id,
21 21
                 'warehouse_id' => $warehouse->id,
Please login to merge, or discard this patch.
database/seeds/SupplierTableSeeder.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
     public function run()
13 13
     {
14
-        factory(App\Supplier::class, 1)->create(['name' => 'Aria Resellers', 'location' => 'China']);
14
+        factory(App\Supplier::class, 1)->create([ 'name' => 'Aria Resellers', 'location' => 'China' ]);
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
database/seeds/SaleTableSeeder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
      */
14 14
     public function run()
15 15
     {
16
-        factory(Sale::class, 5)->make()->each(function (Sale $sale) {
16
+        factory(Sale::class, 5)->make()->each(function(Sale $sale) {
17 17
             Guitar::unsold()->first()->sale()->save($sale);
18 18
         });
19 19
 
20
-        factory(Sale::class, 'shop', 5)->make()->each(function (Sale $sale) {
20
+        factory(Sale::class, 'shop', 5)->make()->each(function(Sale $sale) {
21 21
             Guitar::unsold()->first()->sale()->save($sale);
22 22
         });
23 23
     }
Please login to merge, or discard this patch.
database/seeds/MakeTableSeeder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
             'Bass Guitars',
23 23
             'Double-neck Guitars',
24 24
         ]);
25
-        $makes->each(function ($name) {
26
-            factory(App\Make::class)->create(['name' => $name]);
25
+        $makes->each(function($name) {
26
+            factory(App\Make::class)->create([ 'name' => $name ]);
27 27
         });
28 28
     }
29 29
 }
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
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     |
97 97
     */
98 98
 
99
-    'lottery' => [2, 100],
99
+    'lottery' => [ 2, 100 ],
100 100
 
101 101
     /*
102 102
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
config/mail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     |
55 55
     */
56 56
 
57
-    'from' => ['address' => null, 'name' => null],
57
+    'from' => [ 'address' => null, 'name' => null ],
58 58
 
59 59
     /*
60 60
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
database/migrations/2016_03_24_191449_create_notifications_table.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
     public function up()
14 14
     {
15
-        Schema::create('notifications', function (Blueprint $table) {
15
+        Schema::create('notifications', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('icon')->nullable();
18 18
             $table->string('link')->nullable();
Please login to merge, or discard this patch.
app/Http/Controllers/PurchaseController.php 1 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/Http/Controllers/MakeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             'name' => 'required|string|max:255'
39 39
         ]);
40 40
 
41
-        $make = Make::create($request->only(['name']));
41
+        $make = Make::create($request->only([ 'name' ]));
42 42
         event(new MakeWasCreated($make));
43 43
     }
44 44
 
Please login to merge, or discard this patch.