Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Test Failed
Push — we-need-more-tests ( c50978 )
by Pedro
41:43 queued 26:44
created
tests/Unit/CrudPanel/CrudPanelFieldsTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -609,7 +609,7 @@  discard block
 block discarded – undo
609 609
     {
610 610
         $this->crudPanel->setOperationSetting(
611 611
             'strippedRequest',
612
-            static function (Request $request) {
612
+            static function(Request $request) {
613 613
                 return $request->toArray();
614 614
             },
615 615
             'update'
@@ -743,7 +743,7 @@  discard block
 block discarded – undo
743 743
                         ->validationMessages(['required' => 'is_required', 'min' => 'min_2'])
744 744
                         ->store_in('some')
745 745
                         ->size(6)
746
-                        ->on('created', function () {
746
+                        ->on('created', function() {
747 747
                         })
748 748
                         ->subfields([['name' => 'sub_1']])
749 749
                         ->entity('bang');
@@ -775,7 +775,7 @@  discard block
 block discarded – undo
775 775
                 'class' => 'form-group col-md-6',
776 776
             ],
777 777
             'events' => [
778
-                'created' => function () {
778
+                'created' => function() {
779 779
                 },
780 780
             ],
781 781
             'subfields' => [
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelFiltersTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
                     ->options(['test' => 'test'])
53 53
                     ->view('simple')
54 54
                     ->viewNamespace('crud::filters')
55
-                    ->ifActive(function () {
55
+                    ->ifActive(function() {
56 56
                     return true;
57 57
                 })
58
-                    ->ifInactive(function () {
58
+                    ->ifInactive(function() {
59 59
                     return true;
60 60
                 });
61 61
 
@@ -72,10 +72,10 @@  discard block
 block discarded – undo
72 72
     public function testWhenActiveAndWhenInactiveAliases()
73 73
     {
74 74
         $filter = CrudFilter::name('my_filter')
75
-                        ->whenActive(function () {
75
+                        ->whenActive(function() {
76 76
                             return true;
77 77
                         })
78
-                        ->whenInactive(function () {
78
+                        ->whenInactive(function() {
79 79
                             return true;
80 80
                         });
81 81
 
@@ -86,21 +86,21 @@  discard block
 block discarded – undo
86 86
 
87 87
     public function testWhenNotActiveAlias()
88 88
     {
89
-        $filter = CrudFilter::name('my_filter')->whenNotActive(function () {return true;});
89
+        $filter = CrudFilter::name('my_filter')->whenNotActive(function() {return true; });
90 90
         $this->assertCount(1, $this->crudPanel->filters());
91 91
         $this->assertTrue(is_callable($filter->fallbackLogic));
92 92
     }
93 93
 
94 94
     public function testIfNotActiveAlias()
95 95
     {
96
-        $filter = CrudFilter::name('my_filter')->ifNotActive(function () {return true;});
96
+        $filter = CrudFilter::name('my_filter')->ifNotActive(function() {return true; });
97 97
         $this->assertCount(1, $this->crudPanel->filters());
98 98
         $this->assertTrue(is_callable($filter->fallbackLogic));
99 99
     }
100 100
 
101 101
     public function testElseAlias()
102 102
     {
103
-        $filter = CrudFilter::name('my_filter')->else(function () {return true;});   
103
+        $filter = CrudFilter::name('my_filter')->else(function() {return true; });   
104 104
         $this->assertCount(1, $this->crudPanel->filters());
105 105
         $this->assertTrue(is_callable($filter->fallbackLogic));
106 106
     }
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
     {
196 196
         $this->crudPanel->setModel(User::class);
197 197
         $request = request()->create('/admin/users', 'GET', ['my_custom_filter' => 'foo']);
198
-        $request->setRouteResolver(function () use ($request) {
198
+        $request->setRouteResolver(function() use ($request) {
199 199
             return (new Route('GET', 'admin/users', ['UserCrudController', 'index']))->bind($request);
200 200
         });
201 201
         $this->crudPanel->setRequest($request);
Please login to merge, or discard this patch.