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

Passed
Push — add-tests ( 00b7aa...24e2ca )
by Pedro
15:23
created
tests/Unit/CrudPanel/CrudPanelButtonsTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     public function testAddButtonFluently()
277 277
     {
278 278
         $button1 = CrudButton::name('lineTest')->to('line')->view('crud::buttons.test')->type('view');
279
-        $button2 = CrudButton::add('modelFunction')->model_function(function () {
279
+        $button2 = CrudButton::add('modelFunction')->model_function(function() {
280 280
             return 'test';
281 281
         })->section('top')->makeFirst();
282 282
         $this->assertEquals($button1->toArray(), $this->crudPanel->buttons()->last()->toArray());
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 
291 291
         $this->expectException(\Symfony\Component\HttpKernel\Exception\HttpException::class);
292 292
 
293
-        $this->crudPanel->modifyButton('unknownButton', function ($button) {
293
+        $this->crudPanel->modifyButton('unknownButton', function($button) {
294 294
             $button->name = 'newName';
295 295
         });
296 296
     }
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
 
343 343
     private function getButtonByName($name)
344 344
     {
345
-        return $this->crudPanel->buttons()->first(function ($value) use ($name) {
345
+        return $this->crudPanel->buttons()->first(function($value) use ($name) {
346 346
             return $value->name == $name;
347 347
         });
348 348
     }
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelAccessTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
     public function testItCanUseAClosureToResolveAccess()
107 107
     {
108
-        $this->crudPanel->setAccessCondition('list', function () {
108
+        $this->crudPanel->setAccessCondition('list', function() {
109 109
             return true;
110 110
         });
111 111
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
     public function testItCanUseAClosureToResolveAccessForMultipleOperations()
118 118
     {
119
-        $this->crudPanel->setAccessCondition(['list', 'create'], function () {
119
+        $this->crudPanel->setAccessCondition(['list', 'create'], function() {
120 120
             return true;
121 121
         });
122 122
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
     public function testItCanCheckIfAnOperationHasAccessConditions()
129 129
     {
130
-        $this->crudPanel->setAccessCondition(['list', 'create'], function () {
130
+        $this->crudPanel->setAccessCondition(['list', 'create'], function() {
131 131
             return true;
132 132
         });
133 133
 
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 
138 138
     public function testItCanCheckAccessToAll()
139 139
     {
140
-        $this->crudPanel->allowAccess(['list', 'create'], function () {
140
+        $this->crudPanel->allowAccess(['list', 'create'], function() {
141 141
             return true;
142 142
         });
143 143
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 
148 148
     public function testItCanAllowAccessToSomeSpecificOperationWhileDenyingOthers()
149 149
     {
150
-        $this->crudPanel->allowAccess(['list', 'create'], function () {
150
+        $this->crudPanel->allowAccess(['list', 'create'], function() {
151 151
             return true;
152 152
         });
153 153
 
Please login to merge, or discard this patch.